[patch] [media] staging: sn9c102: add a USB depend to the Kconfig

Dan Carpenter
2014-01-02T12:51:27Z

This driver won't link without USB support.

Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/drivers/staging/media/sn9c102/Kconfig b/drivers/staging/media/sn9c102/Kconfig
index d8ae2354b626..3ab9c81173da 100644
--- a/drivers/staging/media/sn9c102/Kconfig
+++ b/drivers/staging/media/sn9c102/Kconfig
@@ -1,6 +1,6 @@
config USB_SN9C102
tristate "USB SN9C1xx PC Camera Controller support (DEPRECATED)"
- depends on VIDEO_V4L2
+ depends on USB && VIDEO_V4L2
---help---
This driver is DEPRECATED, please use the gspca sonixb and
sonixj modules instead.