diff options
author | Jia Hongtao <hongtao.jia@freescale.com> | 2013-03-15 02:14:58 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2013-03-15 12:12:46 -0400 |
commit | c7417202569ff31c4ddc88811b30925263951da1 (patch) | |
tree | 06e97232606550bddb815b8dab5cc29d6431f254 | |
parent | 35122062bee3d6178dbcd383fa487b5b5f4d28bf (diff) |
powerpc/85xx: Add platform_device declaration to fsl_pci.h
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>
-rw-r--r-- | arch/powerpc/sysdev/fsl_pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.h b/arch/powerpc/sysdev/fsl_pci.h index c81bf4407b5e..72b5625330e2 100644 --- a/arch/powerpc/sysdev/fsl_pci.h +++ b/arch/powerpc/sysdev/fsl_pci.h | |||
@@ -14,6 +14,8 @@ | |||
14 | #ifndef __POWERPC_FSL_PCI_H | 14 | #ifndef __POWERPC_FSL_PCI_H |
15 | #define __POWERPC_FSL_PCI_H | 15 | #define __POWERPC_FSL_PCI_H |
16 | 16 | ||
17 | struct platform_device; | ||
18 | |||
17 | #define PCIE_LTSSM 0x0404 /* PCIE Link Training and Status */ | 19 | #define PCIE_LTSSM 0x0404 /* PCIE Link Training and Status */ |
18 | #define PCIE_LTSSM_L0 0x16 /* L0 state */ | 20 | #define PCIE_LTSSM_L0 0x16 /* L0 state */ |
19 | #define PCIE_IP_REV_2_2 0x02080202 /* PCIE IP block version Rev2.2 */ | 21 | #define PCIE_IP_REV_2_2 0x02080202 /* PCIE IP block version Rev2.2 */ |