config VIDEO_SMIAPP_PLL
        tristate
 
+if MEDIA_CAMERA_SUPPORT
+
 config VIDEO_IMX214
        tristate "Sony IMX214 sensor support"
        depends on GPIOLIB && I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        depends on V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the Sony
 config VIDEO_IMX258
        tristate "Sony IMX258 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the Sony
          IMX258 camera.
 config VIDEO_IMX274
        tristate "Sony IMX274 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select REGMAP_I2C
        help
          This is a V4L2 sensor driver for the Sony IMX274
 config VIDEO_IMX319
        tristate "Sony IMX319 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the Sony
          IMX319 camera.
 config VIDEO_IMX355
        tristate "Sony IMX355 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the Sony
          IMX355 camera.
 config VIDEO_OV2640
        tristate "OmniVision OV2640 sensor support"
        depends on VIDEO_V4L2 && I2C
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the OmniVision
          OV2640 camera.
 config VIDEO_OV2659
        tristate "OmniVision OV2659 sensor support"
        depends on VIDEO_V4L2 && I2C
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the OmniVision
 config VIDEO_OV2680
        tristate "OmniVision OV2680 sensor support"
        depends on VIDEO_V4L2 && I2C && MEDIA_CONTROLLER
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the OmniVision
 config VIDEO_OV2685
        tristate "OmniVision OV2685 sensor support"
        depends on VIDEO_V4L2 && I2C && MEDIA_CONTROLLER
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the OmniVision
        tristate "OmniVision OV5640 sensor support"
        depends on OF
        depends on GPIOLIB && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the Omnivision
        tristate "OmniVision OV5645 sensor support"
        depends on OF
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the OmniVision
 config VIDEO_OV5647
        tristate "OmniVision OV5647 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the OmniVision
 config VIDEO_OV6650
        tristate "OmniVision OV6650 sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the OmniVision
          OV6650 camera.
 config VIDEO_OV5670
        tristate "OmniVision OV5670 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        depends on MEDIA_CONTROLLER
        select V4L2_FWNODE
        help
 config VIDEO_OV5675
        tristate "OmniVision OV5675 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        depends on MEDIA_CONTROLLER
        select V4L2_FWNODE
        help
 config VIDEO_OV5695
        tristate "OmniVision OV5695 sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the OmniVision
          OV5695 camera.
 config VIDEO_OV7251
        tristate "OmniVision OV7251 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the OmniVision
 config VIDEO_OV772X
        tristate "OmniVision OV772x sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        select REGMAP_SCCB
        help
          This is a Video4Linux2 sensor driver for the OmniVision
 config VIDEO_OV7640
        tristate "OmniVision OV7640 sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the OmniVision
          OV7640 camera.
 config VIDEO_OV7670
        tristate "OmniVision OV7670 sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the OmniVision
 config VIDEO_OV7740
        tristate "OmniVision OV7740 sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the OmniVision
          OV7740 VGA camera sensor.
 config VIDEO_OV8856
        tristate "OmniVision OV8856 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the OmniVision
 config VIDEO_OV13858
        tristate "OmniVision OV13858 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select V4L2_FWNODE
        help
          This is a Video4Linux2 sensor driver for the OmniVision
 config VIDEO_VS6624
        tristate "ST VS6624 sensor support"
        depends on VIDEO_V4L2 && I2C
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the ST VS6624
          camera.
 config VIDEO_MT9M001
        tristate "mt9m001 support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This driver supports MT9M001 cameras from Micron, monochrome
          and colour models.
 config VIDEO_MT9M032
        tristate "MT9M032 camera sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select VIDEO_APTINA_PLL
        help
          This driver supports MT9M032 camera sensors from Aptina, monochrome
 config VIDEO_MT9P031
        tristate "Aptina MT9P031 support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select VIDEO_APTINA_PLL
        help
          This is a Video4Linux2 sensor driver for the Aptina
 config VIDEO_MT9T001
        tristate "Aptina MT9T001 support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the Aptina
          (Micron) mt0t001 3 Mpixel camera.
 config VIDEO_MT9T112
        tristate "Aptina MT9T111/MT9T112 support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the Aptina
          (Micron) MT9T111 and MT9T112 3 Mpixel camera.
 config VIDEO_MT9V011
        tristate "Micron mt9v011 sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the Micron
          mt0v011 1.3 Mpixel camera.  It currently only works with the
 config VIDEO_MT9V032
        tristate "Micron MT9V032 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        select REGMAP_I2C
        select V4L2_FWNODE
        help
 config VIDEO_MT9V111
        tristate "Aptina MT9V111 sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a Video4Linux2 sensor driver for the Aptina/Micron
          MT9V111 sensor.
 config VIDEO_SR030PC30
        tristate "Siliconfile SR030PC30 sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This driver supports SR030PC30 VGA camera from Siliconfile
 
 config VIDEO_NOON010PC30
        tristate "Siliconfile NOON010PC30 sensor support"
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This driver supports NOON010PC30 CIF camera from Siliconfile
 
 config VIDEO_RJ54N1
        tristate "Sharp RJ54N1CB0C sensor support"
        depends on I2C && VIDEO_V4L2
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a V4L2 sensor driver for Sharp RJ54N1CB0C CMOS image
          sensor.
 
 config VIDEO_S5K6AA
        tristate "Samsung S5K6AAFX sensor support"
-       depends on MEDIA_CAMERA_SUPPORT
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
        help
          This is a V4L2 sensor driver for Samsung S5K6AA(FX) 1.3M
 
 config VIDEO_S5K6A3
        tristate "Samsung S5K6A3 sensor support"
-       depends on MEDIA_CAMERA_SUPPORT
        depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
        help
          This is a V4L2 sensor driver for Samsung S5K6A3 raw
        help
          This is a V4L2 sensor driver for Samsung S5C73M3
          8 Mpixel camera.
+endif
 
 comment "Lens drivers"
 
+if MEDIA_CAMERA_SUPPORT
+
 config VIDEO_AD5820
        tristate "AD5820 lens voice coil support"
        depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
          capability. This is designed for linear control of
          voice coil motors, controlled via I2C serial interface.
 
+endif
+
 comment "Flash devices"
 
+if MEDIA_CAMERA_SUPPORT
+
 config VIDEO_ADP1653
        tristate "ADP1653 flash support"
        depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
-       depends on MEDIA_CAMERA_SUPPORT
        help
          This is a driver for the ADP1653 flash controller. It is used for
          example in Nokia N900.
 config VIDEO_LM3560
        tristate "LM3560 dual flash driver support"
        depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
-       depends on MEDIA_CAMERA_SUPPORT
        select REGMAP_I2C
        help
          This is a driver for the lm3560 dual flash controllers. It controls
 config VIDEO_LM3646
        tristate "LM3646 dual flash driver support"
        depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER
-       depends on MEDIA_CAMERA_SUPPORT
        select REGMAP_I2C
        help
          This is a driver for the lm3646 dual flash controllers. It controls
          flash, torch LEDs.
 
+endif
+
 comment "Video improvement chips"
 
 config VIDEO_UPD64031A