]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] coda: move coda driver into its own directory
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 23 Jul 2014 15:28:38 +0000 (12:28 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:21 +0000 (15:25 -0500)
The coda driver has grown significantly and will continue to grow.
Move the coda driver into its own directory so it can be split.
Rename coda.h to coda_regs.h as it contains the register defines.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/Makefile
drivers/media/platform/coda/Makefile [new file with mode: 0644]
drivers/media/platform/coda/coda-common.c [moved from drivers/media/platform/coda.c with 99% similarity]
drivers/media/platform/coda/coda_regs.h [moved from drivers/media/platform/coda.h with 100% similarity]

index e5269da91906bd0dea8760e361bb1d599d48b626..4ac4c91b44158c788eb034e299de76044c21c0d6 100644 (file)
@@ -22,7 +22,7 @@ obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
 obj-$(CONFIG_VIDEO_TI_VPE)             += ti-vpe/
 
 obj-$(CONFIG_VIDEO_MX2_EMMAPRP)                += mx2_emmaprp.o
-obj-$(CONFIG_VIDEO_CODA)               += coda.o
+obj-$(CONFIG_VIDEO_CODA)               += coda/
 
 obj-$(CONFIG_VIDEO_SH_VEU)             += sh_veu.o
 
diff --git a/drivers/media/platform/coda/Makefile b/drivers/media/platform/coda/Makefile
new file mode 100644 (file)
index 0000000..13d9ad6
--- /dev/null
@@ -0,0 +1,3 @@
+coda-objs := coda-common.o
+
+obj-$(CONFIG_VIDEO_CODA) += coda.o
similarity index 99%
rename from drivers/media/platform/coda.c
rename to drivers/media/platform/coda/coda-common.c
index 594b0c7c41516bb96bbf3eff959d67c93344223c..98784ee9d38a50cf0dc8a072939a6bd4e0bf7319 100644 (file)
@@ -38,7 +38,7 @@
 #include <media/videobuf2-core.h>
 #include <media/videobuf2-dma-contig.h>
 
-#include "coda.h"
+#include "coda_regs.h"
 
 #define CODA_NAME              "coda"