Răsfoiți Sursa

powerpc/ppc4xx_hsta_msi: Include ppc-pci.h to fix reference to hose_list

An earlier commit referenced 'hose_list' in sysdev/ppc4xx_hsta_msi.c.
hose_list is defined in ppc-pci.h, which was not included in that
file. Include it, fixing the build for the akebono defconfig used
by the kbuild test robot.

Fixes: f2c800aaceb6 ("powerpc/ppc4xx_hsta_msi: Move MSI-related ops to pci_controller_ops")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Daniel Axtens 10 ani în urmă
părinte
comite
aaf6fd5c75
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      arch/powerpc/sysdev/ppc4xx_hsta_msi.c

+ 1 - 0
arch/powerpc/sysdev/ppc4xx_hsta_msi.c

@@ -18,6 +18,7 @@
 #include <linux/pci.h>
 #include <linux/pci.h>
 #include <linux/semaphore.h>
 #include <linux/semaphore.h>
 #include <asm/msi_bitmap.h>
 #include <asm/msi_bitmap.h>
+#include <asm/ppc-pci.h>
 
 
 struct ppc4xx_hsta_msi {
 struct ppc4xx_hsta_msi {
 	struct device *dev;
 	struct device *dev;