powerpc/85xx: Add platform_device declaration to fsl_pci.h
authorJia Hongtao <hongtao.jia@freescale.com>
Fri, 15 Mar 2013 06:14:58 +0000 (14:14 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 15 Mar 2013 16:12:46 +0000 (11:12 -0500)
mpc85xx_pci_err_probe(struct platform_device *op) need platform_device
declaration for definition. Otherwise, it will cause compile error if any
files including fsl_pci.h without declaration of platform_device.

Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.h

index c81bf4407b5e14d76f47ab9225e93ee7d2fadfeb..72b5625330e27be63b3d1d3084aac15e189c3b7f 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef __POWERPC_FSL_PCI_H
 #define __POWERPC_FSL_PCI_H
 
+struct platform_device;
+
 #define PCIE_LTSSM     0x0404          /* PCIE Link Training and Status */
 #define PCIE_LTSSM_L0  0x16            /* L0 state */
 #define PCIE_IP_REV_2_2                0x02080202 /* PCIE IP block version Rev2.2 */