staging: sn9c102 depends on USB
authorArnd Bergmann <[email protected]>
Thu, 5 Jun 2014 20:48:13 +0000 (22:48 +0200)
committerGreg Kroah-Hartman <[email protected]>
Fri, 20 Jun 2014 00:10:12 +0000 (17:10 -0700)
If the USB code is a loadable module, this driver cannot
be built-in. This adds an explicit dependency on CONFIG_USB
so that Kconfig can force sn9c102 to be a module in this case.

Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Luca Risolia <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/media/sn9c102/Kconfig

index c9aba59258d946cc7406b02adbfcbb666cf34488..10f586befce305ea792a5260900f95067c652bb5 100644 (file)
@@ -1,6 +1,6 @@
 config USB_SN9C102
        tristate "USB SN9C1xx PC Camera Controller support (DEPRECATED)"
-       depends on VIDEO_V4L2 && MEDIA_USB_SUPPORT
+       depends on VIDEO_V4L2 && MEDIA_USB_SUPPORT && USB
        ---help---
          This driver is DEPRECATED, please use the gspca sonixb and
          sonixj modules instead.