From 9cb132e7979ab984176a78e326c2b70494e20027 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Tue, 17 Aug 2021 14:59:30 +0200 Subject: [PATCH] drivers: video: ov2640: add GPL build barrier Exclude the ov2640 driver from build unless the license is set to allow GPL code in the build. Signed-off-by: Alin Jerpelea --- drivers/video/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index f0af427442..1a017abd64 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -63,6 +63,7 @@ config VIDEO_MAX7456 config VIDEO_OV2640 bool "OV2640 camera chip" default n + depends on ALLOW_GPL_COMPONENTS select I2C if VIDEO_OV2640