summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/Kconfig
diff options
context:
space:
mode:
authorBingbu Cao <bingbu.cao@intel.com>2020-06-04 03:25:19 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-23 15:14:59 +0200
commit1e8d3bbcdda30973a10d34032401647fc4111747 (patch)
treee6f0157f9621eaae7d56899c885bd1632e77c9a3 /drivers/media/i2c/Kconfig
parentc1d7a2c8259c0a65189542d3e5d7a80f9ea012b6 (diff)
downloadlinux-1e8d3bbcdda30973a10d34032401647fc4111747.tar.bz2
media: ov2740: make ov2740 driver only work with ACPI
As the ACPI id of ov2740 camera sensor was registered as "INT3474", current ov2740 driver is supposed to be working with ACPI only. Signed-off-by: Bingbu Cao <bingbu.cao@intel.com> Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/Kconfig')
-rw-r--r--drivers/media/i2c/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index da11036ad804..6804ad57ee71 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -860,6 +860,7 @@ config VIDEO_OV2685
config VIDEO_OV2740
tristate "OmniVision OV2740 sensor support"
depends on VIDEO_V4L2 && I2C
+ depends on ACPI || COMPILE_TEST
select MEDIA_CONTROLLER
select VIDEO_V4L2_SUBDEV_API
select V4L2_FWNODE