summaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2013-04-08 13:47:03 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-14 20:04:08 -0300
commit7c15b715ef301a7f8bb2dc8de335497ffde568a6 (patch)
treecbabd59b30a7db16a0892c876e98c67b365df3a4 /drivers/media/common
parent402f6ae4d52e5f6c0fe053f307c18360f69e0132 (diff)
[media] media: Fix randconfig error
Fix randconfig error when USB is not enabled: ERROR: "usb_control_msg" [drivers/media/common/cypress_firmware.ko] undefined! Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/common/Kconfig b/drivers/media/common/Kconfig
index ba666c707d5..b85f88c8ddb 100644
--- a/drivers/media/common/Kconfig
+++ b/drivers/media/common/Kconfig
@@ -18,6 +18,7 @@ config VIDEO_TVEEPROM
config CYPRESS_FIRMWARE
tristate "Cypress firmware helper routines"
+ depends on USB
source "drivers/media/common/b2c2/Kconfig"
source "drivers/media/common/saa7146/Kconfig"