Re: [PATCH 1/1] media: ivsc: Depend on VIDEO_DEV

From: Randy Dunlap
Date: Mon Aug 28 2023 - 15:16:32 EST


Hi,

On 8/28/23 01:57, Sakari Ailus wrote:
> CONFIG_VIDEO_DEV is required by other selected symbols. Depend on it.
>
> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Fixes: 29006e196a56 ("media: pci: intel: ivsc: Add CSI submodule")
> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> drivers/media/pci/intel/ivsc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/pci/intel/ivsc/Kconfig b/drivers/media/pci/intel/ivsc/Kconfig
> index e9ecd0bd99bd..0acea4678fc0 100644
> --- a/drivers/media/pci/intel/ivsc/Kconfig
> +++ b/drivers/media/pci/intel/ivsc/Kconfig
> @@ -3,7 +3,7 @@
>
> config INTEL_VSC
> tristate "Intel Visual Sensing Controller"
> - depends on INTEL_MEI && ACPI
> + depends on INTEL_MEI && ACPI && VIDEO_DEV
> select MEDIA_CONTROLLER
> select VIDEO_V4L2_SUBDEV_API
> select V4L2_ASYNC

--
~Randy