summaryrefslogtreecommitdiffstats
path: root/dma/nwl.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-04-27 01:54:44 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-04-27 01:54:44 +0200
commit8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4 (patch)
tree30c74c76115279cdc15437a07fabd8347ac1fdfd /dma/nwl.h
parentdcd8ad63316eac672492bc18112bbbb52811c3fc (diff)
downloadpcitool-8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4.tar.gz
pcitool-8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4.tar.bz2
pcitool-8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4.tar.xz
pcitool-8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4.zip
Further adjustments to get ready for independent event plugins
Diffstat (limited to 'dma/nwl.h')
-rw-r--r--dma/nwl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dma/nwl.h b/dma/nwl.h
index 3d6e988..fceef4d 100644
--- a/dma/nwl.h
+++ b/dma/nwl.h
@@ -20,7 +20,7 @@ int dma_nwl_write_fragment(pcilib_dma_context_t *vctx, pcilib_dma_engine_t dma,
int dma_nwl_stream_read(pcilib_dma_context_t *vctx, pcilib_dma_engine_t dma, uintptr_t addr, size_t size, pcilib_dma_flags_t flags, pcilib_timeout_t timeout, pcilib_dma_callback_t cb, void *cbattr);
double dma_nwl_benchmark(pcilib_dma_context_t *vctx, pcilib_dma_engine_addr_t dma, uintptr_t addr, size_t size, size_t iterations, pcilib_dma_direction_t direction);
-#ifdef _PCILIB_CONFIG_C
+#ifdef _PCILIB_EXPORT_C
static const pcilib_dma_api_description_t nwl_dma_api = {
dma_nwl_init,
dma_nwl_free,
@@ -75,7 +75,7 @@ static pcilib_register_description_t nwl_dma_registers[] = {
{0, 0, 0, 0, 0x00000000, 0, 0, 0, NULL, NULL}
};
-#endif /* _PCILIB_CONFIG_C */
+#endif /* _PCILIB_EXPORT_C */
#ifdef _PCILIB_DMA_NWL_C
// DMA Engine Registers