staging/dt3155v4l: remove private memory allocator
PATCH 1/1 staging/dt3155v4l: remove private memory allocator
Hi Greg,
This patch removes the private memory allocator and all conjugated functions. Now the driver uses videobuf-dma-contig module for allocations. Added reserving 4MB coherent memory for private per device allocations at probe time.
Please, apply.
Thanks.
Marin Mitov
Signed-off-by Marin Mitov <[email protected]>
===========================================================
drivers/staging/dt3155v4l/Kconfig +1 -1
@@ -9,7 +9,7 @@ config VIDEO_DT3155 In doubt, say N. To compile this driver as a module, choose M here: the - module will be called dt3155_v4l. + module will be called dt3155v4l. config DT3155_CCIR bool "Selects CCIR/50Hz vertical refresh"
drivers/staging/dt3155v4l/Makefile +1 -4
@@ -1,4 +1 @@ -obj-$(CONFIG_VIDEO_DT3155) += dt3155_v4l.o -dt3155_v4l-objs := \ - dt3155-bufs.o \ - dt3155v4l.o +obj-$(CONFIG_VIDEO_DT3155) += dt3155v4l.o
drivers/staging/dt3155v4l/dt3155-bufs.c +0 -256
256 lines not on this page · raw message
drivers/staging/dt3155v4l/dt3155-bufs.h +0 -88
88 lines not on this page · raw message
drivers/staging/dt3155v4l/dt3155v4l.c +103 -500
725 lines not on this page · raw message
drivers/staging/dt3155v4l/dt3155v4l.h +2 -2
@@ -29,8 +29,8 @@#define DT3155_NAME "dt3155"#define DT3155_VER_MAJ 1 -#define DT3155_VER_MIN 0 -#define DT3155_VER_EXT 3 +#define DT3155_VER_MIN 1 +#define DT3155_VER_EXT 0#define DT3155_VERSION __stringify(DT3155_VER_MAJ) "." \ __stringify(DT3155_VER_MIN) "." \ __stringify(DT3155_VER_EXT)