projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d48b97b
)
Orion5x: Fix warning: struct pci_dev declared inside paramter list
author
Andrew Lunn
<andrew@lunn.ch>
Thu, 10 May 2012 11:25:33 +0000
(13:25 +0200)
committer
Andrew Lunn
<andrew@lunn.ch>
Mon, 14 May 2012 16:12:36 +0000
(18:12 +0200)
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>
arch/arm/mach-orion5x/common.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-orion5x/common.h
b/arch/arm/mach-orion5x/common.h
index
2e6454c
..
31bab92
100644
(file)
--- a/
arch/arm/mach-orion5x/common.h
+++ b/
arch/arm/mach-orion5x/common.h
@@
-45,6
+45,7
@@
void orion5x_restart(char, const char *);
*/
struct pci_bus;
struct pci_sys_data;
+struct pci_dev;
void orion5x_pcie_id(u32 *dev, u32 *rev);
void orion5x_pci_disable(void);