From: Hans Verkuil Date: Tue, 24 Dec 2013 15:42:19 +0000 (-0300) Subject: [media] [for,v3.14] sn9c102: fix build dependency X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42f8f39e278b834ab2b90419f9acbdb02472cdeb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] [for,v3.14] sn9c102: fix build dependency This driver should only build if MEDIA_USB_SUPPORT is set. Signed-off-by: Hans Verkuil Reported-by: Jim Davis Reported-by: kbuild test robot Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/sn9c102/Kconfig b/drivers/staging/media/sn9c102/Kconfig index d8ae2354b626..c9aba59258d9 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 VIDEO_V4L2 && MEDIA_USB_SUPPORT ---help--- This driver is DEPRECATED, please use the gspca sonixb and sonixj modules instead.