summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-10-06 10:27:59 -0600
committerMartin Roth <martinroth@google.com>2016-10-09 02:39:04 +0200
commitf641779bacadde3b6bfd5603790ad842b1bda6b2 (patch)
treeaa5623bf5c2da0920351ac2137a3c6f9f6cddbb1 /src/drivers
parent34a6537512d412363bf56428b7ae284e6dd80fb3 (diff)
drivers/intel/wifi: Add depends on ARCH_X86
When compiling a non-x86 platform with DRIVERS_INTEL_WIFI enabled, we get the build error: src/drivers/intel/wifi/wifi.c:17:30: fatal error: arch/acpi_device.h: No such file or directory acpi_device.h only exists in the x86 architecture directory. Change-Id: Id0e29558336bf44e638cfcb97c22f31683ea4ec7 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/16906 Tested-by: build bot (Jenkins) Reviewed-by: Antonello Dettori <dev@dettori.io> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@googlemail.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/wifi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/intel/wifi/Kconfig b/src/drivers/intel/wifi/Kconfig
index 40a85286a6..330de6c6dc 100644
--- a/src/drivers/intel/wifi/Kconfig
+++ b/src/drivers/intel/wifi/Kconfig
@@ -1,5 +1,6 @@
config DRIVERS_INTEL_WIFI
bool "Support Intel PCI-e WiFi adapters"
+ depends on ARCH_X86
default y if PCIEXP_PLUGIN_SUPPORT
help
When enabled, add identifiers in ACPI and SMBIOS tables to