[media] media: Fix randconfig error
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 8 Apr 2013 16:47:03 +0000 (13:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 23:04:08 +0000 (20:04 -0300)
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>
drivers/media/common/Kconfig

index ba666c707d5827c672cbe92dda2996fe064a24f0..b85f88c8ddbd7b301a6bbbc181c4ef0aa5c34c4d 100644 (file)
@@ -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"