summaryrefslogtreecommitdiffstats
path: root/dma
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-05-02 14:45:42 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-05-02 14:45:42 +0200
commit5387063faa68d774e2f586e6d8284520f3cde12f (patch)
treec849a07034fe0ba9880fdf8db27972925f93c75a /dma
parent92b8fe6e949f08308d237e87441e066a19a9eda6 (diff)
downloadpcitool-5387063faa68d774e2f586e6d8284520f3cde12f.tar.gz
pcitool-5387063faa68d774e2f586e6d8284520f3cde12f.tar.bz2
pcitool-5387063faa68d774e2f586e6d8284520f3cde12f.tar.xz
pcitool-5387063faa68d774e2f586e6d8284520f3cde12f.zip
Include version information in all API descriptions
Diffstat (limited to 'dma')
-rw-r--r--dma/ipe.h2
-rw-r--r--dma/nwl.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/dma/ipe.h b/dma/ipe.h
index aa42f40..6e05fe1 100644
--- a/dma/ipe.h
+++ b/dma/ipe.h
@@ -3,6 +3,7 @@
#include <stdio.h>
#include "pcilib.h"
+#include "version.h"
//#define PCILIB_NWL_MODIFICATION_IPECAMERA 0x100
@@ -19,6 +20,7 @@ double dma_ipe_benchmark(pcilib_dma_context_t *vctx, pcilib_dma_engine_addr_t dm
#ifdef _PCILIB_EXPORT_C
static const pcilib_dma_api_description_t ipe_dma_api = {
+ PCILIB_VERSION,
dma_ipe_init,
dma_ipe_free,
dma_ipe_get_status,
diff --git a/dma/nwl.h b/dma/nwl.h
index fceef4d..bf955f3 100644
--- a/dma/nwl.h
+++ b/dma/nwl.h
@@ -3,6 +3,7 @@
#include <stdio.h>
#include "pcilib.h"
+#include "version.h"
pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx, const char *model, const void *arg);
void dma_nwl_free(pcilib_dma_context_t *vctx);
@@ -22,6 +23,7 @@ double dma_nwl_benchmark(pcilib_dma_context_t *vctx, pcilib_dma_engine_addr_t dm
#ifdef _PCILIB_EXPORT_C
static const pcilib_dma_api_description_t nwl_dma_api = {
+ PCILIB_VERSION,
dma_nwl_init,
dma_nwl_free,
dma_nwl_get_status,