diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-05-02 14:45:42 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-05-02 14:45:42 +0200 |
commit | 5387063faa68d774e2f586e6d8284520f3cde12f (patch) | |
tree | c849a07034fe0ba9880fdf8db27972925f93c75a /dma | |
parent | 92b8fe6e949f08308d237e87441e066a19a9eda6 (diff) | |
download | pcitool-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.h | 2 | ||||
-rw-r--r-- | dma/nwl.h | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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, @@ -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, |