]> git.baikalelectronics.ru Git - kernel.git/commit
Fix build error when CONFIG_ACPI is not set/enabled:
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 20 Aug 2020 04:30:47 +0000 (06:30 +0200)
committerJuergen Gross <jgross@suse.com>
Thu, 20 Aug 2020 04:30:47 +0000 (06:30 +0200)
commit0f2c904549d61be01848c963ae36478909e75de2
treea28c1cd865fa1312c5f5c7fc8fcd20b139037874
parent4e41d2d421a21d3dc0d515c51302e127ea064bb0
Fix build error when CONFIG_ACPI is not set/enabled:

../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: 14b6bb3c1fd7 ("xen/pci: Use acpi_noirq_set() helper to avoid #ifdef")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xenproject.org
Cc: linux-pci@vger.kernel.org
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/pci/xen.c