summaryrefslogtreecommitdiffstats
path: root/ipecamera
diff options
context:
space:
mode:
Diffstat (limited to 'ipecamera')
-rw-r--r--ipecamera/ipecamera.c4
-rw-r--r--ipecamera/model.h7
2 files changed, 5 insertions, 6 deletions
diff --git a/ipecamera/ipecamera.c b/ipecamera/ipecamera.c
index 1681f7c..fe66948 100644
--- a/ipecamera/ipecamera.c
+++ b/ipecamera/ipecamera.c
@@ -23,12 +23,8 @@
#include "events.h"
#include "data.h"
-#include "dma/nwl_dma.h"
-#ifdef IPECAMERA_DEBUG
#include "dma/nwl.h"
-#endif /* IPECAMERA_DEBUG */
-
#define FIND_REG(var, bank, name) \
ctx->var = pcilib_find_register(pcilib, bank, name); \
diff --git a/ipecamera/model.h b/ipecamera/model.h
index 26505ee..cc47891 100644
--- a/ipecamera/model.h
+++ b/ipecamera/model.h
@@ -152,9 +152,13 @@ extern pcilib_event_data_type_description_t ipecamera_data_types[];
#ifdef _IPECAMERA_IMAGE_C
pcilib_event_api_description_t ipecamera_image_api = {
+ "ipecamera",
+
ipecamera_init,
ipecamera_free,
+ ipecamera_init_dma,
+
ipecamera_reset,
ipecamera_start,
ipecamera_stop,
@@ -163,8 +167,7 @@ pcilib_event_api_description_t ipecamera_image_api = {
ipecamera_stream,
ipecamera_next_event,
ipecamera_get,
- ipecamera_return,
- ipecamera_init_dma
+ ipecamera_return
};
#else
extern pcilib_event_api_description_t ipecamera_image_api;