diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-05-10 07:25:33 -0400 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2012-05-14 12:12:36 -0400 |
commit | 6ed272f245893f2278a9f5a59bacd857664c7d1f (patch) | |
tree | bef89c665532b6ea75ae95fc2616346f6f93c71b /arch/arm/mach-orion5x/common.h | |
parent | d48b97b403d23f6df0b990cee652bdf9a52337a3 (diff) |
Orion5x: Fix warning: struct pci_dev declared inside paramter list
Orion5x board files which don't have PCI give warnings:
arch/arm/mach-orion5x/common.h:54:38: warning: 'struct pci_dev' declared
inside parameter list.
Add a forward declaration in the header file, which is the pattern
used for other PCI structures.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'arch/arm/mach-orion5x/common.h')
-rw-r--r-- | arch/arm/mach-orion5x/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/common.h b/arch/arm/mach-orion5x/common.h index 2e6454c8d4ba..31bab92ce038 100644 --- a/arch/arm/mach-orion5x/common.h +++ b/arch/arm/mach-orion5x/common.h | |||
@@ -45,6 +45,7 @@ void orion5x_restart(char, const char *); | |||
45 | */ | 45 | */ |
46 | struct pci_bus; | 46 | struct pci_bus; |
47 | struct pci_sys_data; | 47 | struct pci_sys_data; |
48 | struct pci_dev; | ||
48 | 49 | ||
49 | void orion5x_pcie_id(u32 *dev, u32 *rev); | 50 | void orion5x_pcie_id(u32 *dev, u32 *rev); |
50 | void orion5x_pci_disable(void); | 51 | void orion5x_pci_disable(void); |