media: v4l: Use correct dependency for camera sensor drivers
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 18 Aug 2023 09:51:49 +0000 (12:51 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 14 Sep 2023 10:38:17 +0000 (12:38 +0200)
commit86e16b87afac20779da1228d690a95c54d7e2ad0
treed0ec3a8bf8877ea4fb6f20424d9590dee3567ef5
parentf6c8a312ef0175ea67a1ace29e1d1e5d470ea45a
media: v4l: Use correct dependency for camera sensor drivers

The Kconfig option that enables compiling camera sensor drivers is
VIDEO_CAMERA_SENSOR rather than MEDIA_CAMERA_SUPPORT as it was previously.
Fix this.

Also select VIDEO_OV7670 for marvell platform drivers only if
MEDIA_SUBDRV_AUTOSELECT and VIDEO_CAMERA_SENSOR are enabled.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: 7d3c7d2a2914 ("media: i2c: Add a camera sensor top level menu")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/marvell/Kconfig
drivers/media/usb/em28xx/Kconfig
drivers/media/usb/go7007/Kconfig