summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann2017-03-20 15:42:05 +0100
committerGreg Kroah-Hartman2017-03-21 08:04:33 +0100
commit9b7edbb60bb8ee2b9a0c93dd776be82a6b0ea666 (patch)
tree5305048cf8e75e7b4804b311e52097f6c647b2de /drivers/staging/media/atomisp/Kconfig
parentstaging/atomisp: add PCI dependency (diff)
downloadkernel-qcow2-linux-9b7edbb60bb8ee2b9a0c93dd776be82a6b0ea666.tar.gz
kernel-qcow2-linux-9b7edbb60bb8ee2b9a0c93dd776be82a6b0ea666.tar.xz
kernel-qcow2-linux-9b7edbb60bb8ee2b9a0c93dd776be82a6b0ea666.zip
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>
Diffstat (limited to 'drivers/staging/media/atomisp/Kconfig')
-rw-r--r--drivers/staging/media/atomisp/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/Kconfig b/drivers/staging/media/atomisp/Kconfig
index 8b172edf3833..8eb13c3ba29c 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 && EFI && MEDIA_CONTROLLER && PCI
+ depends on X86 && EFI && MEDIA_CONTROLLER && PCI && ACPI
help
Enable support for the Intel ISP2 camera interfaces and MIPI
sensor drivers.