aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRolf Eike Beer <eike-kernel@sf-tec.de>2012-05-10 17:01:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-10 18:12:08 -0400
commit25fe853d2ce5cad4115a211c568b430b1e4080bc (patch)
tree69e0463291ac818d197e07276ec7972ea4d931ac /arch
parent1cab4201f00d06bd15c51cdfb12b233b588cdb61 (diff)
parisc: add missing forward declarations in asm/hardware.h
Fixes this warnings: In file included from arch/parisc/include/asm/processor.h:15:0, from arch/parisc/include/asm/spinlock.h:4, from arch/parisc/include/asm/atomic.h:20, from include/linux/atomic.h:4, from arch/parisc/include/asm/bitops.h:11, from include/linux/bitops.h:22, from include/linux/kernel.h:19, from include/linux/sched.h:55, from arch/parisc/kernel/asm-offsets.c:31: arch/parisc/include/asm/hardware.h:106:10: warning: ‘struct hardware_path’ declared inside parameter list [enabled by default] arch/parisc/include/asm/hardware.h:106:10: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] arch/parisc/include/asm/hardware.h:116:59: warning: ‘struct hardware_path’ declared inside parameter list [enabled by default] arch/parisc/include/asm/hardware.h:118:47: warning: ‘struct hardware_path’ declared inside parameter list [enabled by default] arch/parisc/include/asm/hardware.h:119:57: warning: ‘struct hardware_path’ declared inside parameter list [enabled by default] Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/include/asm/hardware.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/hardware.h b/arch/parisc/include/asm/hardware.h
index 4e9626836bab..036e70310fcd 100644
--- a/arch/parisc/include/asm/hardware.h
+++ b/arch/parisc/include/asm/hardware.h
@@ -95,12 +95,14 @@ struct bc_module {
95#define HPHW_MC 15 95#define HPHW_MC 15
96#define HPHW_FAULTY 31 96#define HPHW_FAULTY 31
97 97
98struct parisc_device_id;
98 99
99/* hardware.c: */ 100/* hardware.c: */
100extern const char *parisc_hardware_description(struct parisc_device_id *id); 101extern const char *parisc_hardware_description(struct parisc_device_id *id);
101extern enum cpu_type parisc_get_cpu_type(unsigned long hversion); 102extern enum cpu_type parisc_get_cpu_type(unsigned long hversion);
102 103
103struct pci_dev; 104struct pci_dev;
105struct hardware_path;
104 106
105/* drivers.c: */ 107/* drivers.c: */
106extern struct parisc_device *alloc_pa_dev(unsigned long hpa, 108extern struct parisc_device *alloc_pa_dev(unsigned long hpa,