]> Git Repo - linux.git/commitdiff
Fix build error when CONFIG_ACPI is not set/enabled:
authorRandy Dunlap <[email protected]>
Thu, 20 Aug 2020 04:30:47 +0000 (06:30 +0200)
committerJuergen Gross <[email protected]>
Thu, 20 Aug 2020 04:30:47 +0000 (06:30 +0200)
../arch/x86/pci/xen.c: In function ‘pci_xen_init’:
../arch/x86/pci/xen.c:410:2: error: implicit declaration of function ‘acpi_noirq_set’; did you mean ‘acpi_irq_get’? [-Werror=implicit-function-declaration]
  acpi_noirq_set();

Fixes: 88e9ca161c13 ("xen/pci: Use acpi_noirq_set() helper to avoid #ifdef")
Signed-off-by: Randy Dunlap <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Juergen Gross <[email protected]>
arch/x86/pci/xen.c

index e3f1ca3160684405b75336ae7795a775072612d8..db34fee931388bb50ac87d9e19cfda3ac6fdafe9 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/xen/pci.h>
 #include <asm/xen/cpuid.h>
 #include <asm/apic.h>
+#include <asm/acpi.h>
 #include <asm/i8259.h>
 
 static int xen_pcifront_enable_irq(struct pci_dev *dev)
This page took 0.060001 seconds and 4 git commands to generate.