This patch makes the SoC camera framework as well as effectively the few
remaining sensor drivers depend on BROKEN, rendering it uncompileable
without changes in Kconfig.

The purpose is to leave the code around if someone wishes to convert the
drivers to the modern day V4L2 sub-device framework without having to go
to see development history in git.

Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com>
---
 drivers/staging/media/soc_camera/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/soc_camera/Kconfig 
b/drivers/staging/media/soc_camera/Kconfig
index 6a6aa6d2d150e..bacd30f0348dc 100644
--- a/drivers/staging/media/soc_camera/Kconfig
+++ b/drivers/staging/media/soc_camera/Kconfig
@@ -1,6 +1,6 @@
 config SOC_CAMERA
        tristate "SoC camera support"
-       depends on VIDEO_V4L2 && HAS_DMA && I2C
+       depends on VIDEO_V4L2 && HAS_DMA && I2C && BROKEN
        select VIDEOBUF2_CORE
        help
          SoC Camera is a common API to several cameras, not connecting
-- 
2.11.0

Reply via email to