Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging/atomisp: add ACPI dependency

Without ACPI, some of the code fails to build:

media/atomisp/platform/intel-mid/atomisp_gmin_platform.c: In function 'atomisp_register_i2c_module':
media/atomisp/platform/intel-mid/atomisp_gmin_platform.c:174:7: error: dereferencing pointer to incomplete type 'struct acpi_device'

We could work around that in the code, but since we already have a hard
dependency on x86, adding the ACPI dependency seems to be the easiest
solution.

Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Arnd Bergmann and committed by
Greg Kroah-Hartman
9b7edbb6 19740d68

+1 -1
+1 -1
drivers/staging/media/atomisp/Kconfig
··· 1 1 menuconfig INTEL_ATOMISP 2 2 bool "Enable support to Intel MIPI camera drivers" 3 - depends on X86 && EFI && MEDIA_CONTROLLER && PCI 3 + depends on X86 && EFI && MEDIA_CONTROLLER && PCI && ACPI 4 4 help 5 5 Enable support for the Intel ISP2 camera interfaces and MIPI 6 6 sensor drivers.