]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[media] saa7146: Move it to its own directory
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 14 Jun 2012 19:36:00 +0000 (16:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Aug 2012 02:52:49 +0000 (23:52 -0300)
In order to better organize the directory tree, move the
saa7146 common driver to its own directory.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/Kconfig
drivers/media/common/Makefile
drivers/media/common/saa7146/Kconfig [new file with mode: 0644]
drivers/media/common/saa7146/Makefile [new file with mode: 0644]
drivers/media/common/saa7146/saa7146_core.c [moved from drivers/media/common/saa7146_core.c with 100% similarity]
drivers/media/common/saa7146/saa7146_fops.c [moved from drivers/media/common/saa7146_fops.c with 100% similarity]
drivers/media/common/saa7146/saa7146_hlp.c [moved from drivers/media/common/saa7146_hlp.c with 100% similarity]
drivers/media/common/saa7146/saa7146_i2c.c [moved from drivers/media/common/saa7146_i2c.c with 100% similarity]
drivers/media/common/saa7146/saa7146_vbi.c [moved from drivers/media/common/saa7146_vbi.c with 100% similarity]
drivers/media/common/saa7146/saa7146_video.c [moved from drivers/media/common/saa7146_video.c with 100% similarity]

index 4672f7d82f672fe46c06cb3adca3baa0e8ceb7dc..157f191ef646b7136d4a6c5b9e9005b6b23b23d3 100644 (file)
@@ -1,11 +1,2 @@
-config VIDEO_SAA7146
-       tristate
-       depends on I2C && PCI
-
-config VIDEO_SAA7146_VV
-       tristate
-       depends on VIDEO_V4L2
-       select VIDEOBUF_DMA_SG
-       select VIDEO_SAA7146
-
 source "drivers/media/common/b2c2/Kconfig"
+source "drivers/media/common/saa7146/Kconfig"
index a471242c46a72b8703924dbeac62aaa843b93a1f..f3afd83843e03fbfe4c8c2effb6699cd54f9ee1d 100644 (file)
@@ -1,6 +1 @@
-saa7146-objs    := saa7146_i2c.o saa7146_core.o
-saa7146_vv-objs := saa7146_fops.o saa7146_video.o saa7146_hlp.o saa7146_vbi.o
-
-obj-y += b2c2/
-obj-$(CONFIG_VIDEO_SAA7146) += saa7146.o
-obj-$(CONFIG_VIDEO_SAA7146_VV) += saa7146_vv.o
+obj-y += b2c2/ saa7146/
diff --git a/drivers/media/common/saa7146/Kconfig b/drivers/media/common/saa7146/Kconfig
new file mode 100644 (file)
index 0000000..769c6f8
--- /dev/null
@@ -0,0 +1,9 @@
+config VIDEO_SAA7146
+       tristate
+       depends on I2C && PCI
+
+config VIDEO_SAA7146_VV
+       tristate
+       depends on VIDEO_V4L2
+       select VIDEOBUF_DMA_SG
+       select VIDEO_SAA7146
diff --git a/drivers/media/common/saa7146/Makefile b/drivers/media/common/saa7146/Makefile
new file mode 100644 (file)
index 0000000..3219b00
--- /dev/null
@@ -0,0 +1,5 @@
+saa7146-objs    := saa7146_i2c.o saa7146_core.o
+saa7146_vv-objs := saa7146_fops.o saa7146_video.o saa7146_hlp.o saa7146_vbi.o
+
+obj-$(CONFIG_VIDEO_SAA7146) += saa7146.o
+obj-$(CONFIG_VIDEO_SAA7146_VV) += saa7146_vv.o