Several dependencies were missing to build atomisp drivers: _ MEDIA_CONTROLLER: to use the entity field of v4l2_subdev structure _ ACPI: to use acpi_device structure and acpi_device_id structure _ VIDEO_V4L2_SUBDEV_API: to use pad field of v4l2_subdev_fh structure _ EFI: to use efivar_entry_get Signed-off-by: Jérémy Lefaure <jeremy.lefaure@xxxxxxxxxxxx> --- drivers/staging/media/atomisp/Kconfig | 2 +- drivers/staging/media/atomisp/i2c/Kconfig | 16 ++++++++-------- drivers/staging/media/atomisp/i2c/imx/Kconfig | 1 + drivers/staging/media/atomisp/i2c/ov5693/Kconfig | 2 +- drivers/staging/media/atomisp/pci/Kconfig | 2 +- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/staging/media/atomisp/Kconfig b/drivers/staging/media/atomisp/Kconfig index f7d8a84..3d9edcb 100644 --- a/drivers/staging/media/atomisp/Kconfig +++ b/drivers/staging/media/atomisp/Kconfig @@ -1,6 +1,6 @@ menuconfig INTEL_ATOMISP bool "Enable support to Intel MIPI camera drivers" - depends on X86 + depends on X86 && ACPI && EFI help Enable support for the Intel ISP2 camera interfaces and MIPI sensor drivers. diff --git a/drivers/staging/media/atomisp/i2c/Kconfig b/drivers/staging/media/atomisp/i2c/Kconfig index 30b0bb9..3b7ffe6 100644 --- a/drivers/staging/media/atomisp/i2c/Kconfig +++ b/drivers/staging/media/atomisp/i2c/Kconfig @@ -7,7 +7,7 @@ source "drivers/staging/media/atomisp/i2c/imx/Kconfig" config VIDEO_OV2722 tristate "OVT ov2722 sensor support" - depends on I2C && VIDEO_V4L2 + depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sensor-level driver for the OVT OV2722 raw camera. @@ -18,7 +18,7 @@ config VIDEO_OV2722 config VIDEO_GC2235 tristate "Galaxy gc2235 sensor support" - depends on I2C && VIDEO_V4L2 + depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sensor-level driver for the OVT GC2235 raw camera. @@ -29,7 +29,7 @@ config VIDEO_GC2235 config VIDEO_OV8858 tristate "Omnivision ov8858 sensor support" - depends on I2C && VIDEO_V4L2 && VIDEO_ATOMISP + depends on I2C && VIDEO_V4L2 && VIDEO_ATOMISP && MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sensor-level driver for the Omnivision ov8858 RAW sensor. @@ -50,7 +50,7 @@ config VIDEO_MSRLIST_HELPER config VIDEO_MT9M114 tristate "Aptina mt9m114 sensor support" - depends on I2C && VIDEO_V4L2 + depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sensor-level driver for the Micron mt9m114 1.3 Mpixel camera. @@ -61,7 +61,7 @@ config VIDEO_MT9M114 config VIDEO_AP1302 tristate "AP1302 external ISP support" - depends on I2C && VIDEO_V4L2 + depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sensor-level driver for the external ISP AP1302. @@ -72,14 +72,14 @@ config VIDEO_AP1302 config VIDEO_GC0310 tristate "GC0310 sensor support" - depends on I2C && VIDEO_V4L2 + depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sensor-level driver for the Galaxycore GC0310 0.3MP sensor. config VIDEO_OV2680 tristate "Omnivision OV2680 sensor support" - depends on I2C && VIDEO_V4L2 + depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sensor-level driver for the Omnivision OV2680 raw camera. @@ -94,7 +94,7 @@ config VIDEO_OV2680 config VIDEO_LM3554 tristate "LM3554 flash light driver" - depends on VIDEO_V4L2 && I2C + depends on VIDEO_V4L2 && I2C && MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sub-dev driver for the LM3554 flash light driver. diff --git a/drivers/staging/media/atomisp/i2c/imx/Kconfig b/drivers/staging/media/atomisp/i2c/imx/Kconfig index a39eeb3..39966c4 100644 --- a/drivers/staging/media/atomisp/i2c/imx/Kconfig +++ b/drivers/staging/media/atomisp/i2c/imx/Kconfig @@ -1,6 +1,7 @@ config VIDEO_IMX tristate "sony imx sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_MSRLIST_HELPER && m + depends on MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sensor-level driver for the Sony IMX RAW sensor. diff --git a/drivers/staging/media/atomisp/i2c/ov5693/Kconfig b/drivers/staging/media/atomisp/i2c/ov5693/Kconfig index 9fb1bff..3954b8c 100644 --- a/drivers/staging/media/atomisp/i2c/ov5693/Kconfig +++ b/drivers/staging/media/atomisp/i2c/ov5693/Kconfig @@ -1,6 +1,6 @@ config VIDEO_OV5693 tristate "Omnivision ov5693 sensor support" - depends on I2C && VIDEO_V4L2 + depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER ---help--- This is a Video4Linux2 sensor-level driver for the Micron ov5693 5 Mpixel camera. diff --git a/drivers/staging/media/atomisp/pci/Kconfig b/drivers/staging/media/atomisp/pci/Kconfig index e8f6783..c531fd8 100644 --- a/drivers/staging/media/atomisp/pci/Kconfig +++ b/drivers/staging/media/atomisp/pci/Kconfig @@ -4,7 +4,7 @@ config VIDEO_ATOMISP tristate "Intel Atom Image Signal Processor Driver" - depends on VIDEO_V4L2 + depends on VIDEO_V4L2 && MEDIA_CONTROLLER && VIDEO_V4L2_SUBDEV_API select VIDEOBUF_VMALLOC ---help--- Say Y here if your platform supports Intel Atom SoC -- 2.1.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel