From 8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 27 Apr 2015 01:54:44 +0200 Subject: Further adjustments to get ready for independent event plugins --- dma/nwl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dma/nwl.h') 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 -- cgit v1.2.3