diff mbox series

media: staging: stkwebcam: Restore MEDIA_{USB,CAMERA}_SUPPORT dependencies

Message ID 6cac293c66b2bf4f0b7ce12efbc988764b37a1af.1657526672.git.geert+renesas@glider.be
State Accepted
Commit faaf901727eddcfbe889fe172ec9cdb5e63c8236
Headers show
Series media: staging: stkwebcam: Restore MEDIA_{USB,CAMERA}_SUPPORT dependencies | expand

Commit Message

Geert Uytterhoeven July 11, 2022, 8:04 a.m. UTC
By moving support for the USB Syntek DC1125 Camera to staging, the
dependencies on MEDIA_USB_SUPPORT and MEDIA_CAMERA_SUPPORT were lost.

Fixes: 56280c64ecacc971 ("media: stkwebcam: deprecate driver, move to staging")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/staging/media/stkwebcam/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/staging/media/stkwebcam/Kconfig b/drivers/staging/media/stkwebcam/Kconfig
index 4450403dff41fb64..7234498e634ac61c 100644
--- a/drivers/staging/media/stkwebcam/Kconfig
+++ b/drivers/staging/media/stkwebcam/Kconfig
@@ -2,7 +2,7 @@ 
 config VIDEO_STKWEBCAM
 	tristate "USB Syntek DC1125 Camera support (DEPRECATED)"
 	depends on VIDEO_DEV
-	depends on USB
+	depends on MEDIA_USB_SUPPORT && MEDIA_CAMERA_SUPPORT
 	help
 	  Say Y here if you want to use this type of camera.
 	  Supported devices are typically found in some Asus laptops,