media: staging: stkwebcam: Restore MEDIA_{USB,CAMERA}_SUPPORT dependencies
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Nov 2022 15:58:33 +0000 (16:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:25 +0000 (13:32 +0100)
[ Upstream commit faaf901727eddcfbe889fe172ec9cdb5e63c8236 ]

By moving support for the USB Syntek DC1125 Camera to staging, the
dependencies on MEDIA_USB_SUPPORT and MEDIA_CAMERA_SUPPORT were lost.

Fixes: 56280c64ecac ("media: stkwebcam: deprecate driver, move to staging")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/media/deprecated/stkwebcam/Kconfig

index 4450403..7234498 100644 (file)
@@ -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,