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 <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2021-08-17 14:59:30 +02:00 committed by Xiang Xiao
parent b0c860ea9b
commit 9cb132e797

View File

@ -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