[media] [for,v3.14] sn9c102: fix build dependency
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 24 Dec 2013 15:42:19 +0000 (12:42 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 10:49:01 +0000 (08:49 -0200)
This driver should only build if MEDIA_USB_SUPPORT is set.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Jim Davis <jim.epost@gmail.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/sn9c102/Kconfig

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