diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-20 09:32:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-21 06:55:47 -0400 |
commit | b6334460f2929c02d0d1f0fbad9f909229d00d50 (patch) | |
tree | 8a33cc158685126328a573c9b4e81d26390d6faa /drivers/media/platform/Kconfig | |
parent | 7a46e188bf80cb75c08d2d95802a5d124929fb20 (diff) |
[media] Cleanup media Kconfig files
- get rid of ridden V4L2_COMMON symbol
This symbol is not needed anymore; it can be folded with V4L2
one, simplifying the Kconfig a little bit;
- Comment why some Kconfig items are needed;
- Remove if test for MEDIA_CAMERA_SUPPORT, replacing it by
depends on.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/Kconfig')
-rw-r--r-- | drivers/media/platform/Kconfig | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index d33e8e59a06b..5955a276f468 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig | |||
@@ -1,5 +1,3 @@ | |||
1 | if MEDIA_CAMERA_SUPPORT | ||
2 | |||
3 | # | 1 | # |
4 | # Platform drivers | 2 | # Platform drivers |
5 | # All drivers here are currently for webcam support | 3 | # All drivers here are currently for webcam support |
@@ -37,6 +35,7 @@ source "drivers/media/platform/blackfin/Kconfig" | |||
37 | 35 | ||
38 | config VIDEO_SH_VOU | 36 | config VIDEO_SH_VOU |
39 | tristate "SuperH VOU video output driver" | 37 | tristate "SuperH VOU video output driver" |
38 | depends on MEDIA_CAMERA_SUPPORT | ||
40 | depends on VIDEO_DEV && ARCH_SHMOBILE | 39 | depends on VIDEO_DEV && ARCH_SHMOBILE |
41 | select VIDEOBUF_DMA_CONTIG | 40 | select VIDEOBUF_DMA_CONTIG |
42 | help | 41 | help |
@@ -119,6 +118,7 @@ endif # V4L_PLATFORM_DRIVERS | |||
119 | menuconfig V4L_MEM2MEM_DRIVERS | 118 | menuconfig V4L_MEM2MEM_DRIVERS |
120 | bool "Memory-to-memory multimedia devices" | 119 | bool "Memory-to-memory multimedia devices" |
121 | depends on VIDEO_V4L2 | 120 | depends on VIDEO_V4L2 |
121 | depends on MEDIA_CAMERA_SUPPORT | ||
122 | default n | 122 | default n |
123 | ---help--- | 123 | ---help--- |
124 | Say Y here to enable selecting drivers for V4L devices that | 124 | Say Y here to enable selecting drivers for V4L devices that |
@@ -212,5 +212,3 @@ config VIDEO_MEM2MEM_TESTDEV | |||
212 | This is a virtual test device for the memory-to-memory driver | 212 | This is a virtual test device for the memory-to-memory driver |
213 | framework. | 213 | framework. |
214 | endif #V4L_TEST_DRIVERS | 214 | endif #V4L_TEST_DRIVERS |
215 | |||
216 | endif # MEDIA_CAMERA_SUPPORT | ||