diff options
Diffstat (limited to 'arch/sparc/prom/ranges.c')
-rw-r--r-- | arch/sparc/prom/ranges.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/sparc/prom/ranges.c b/arch/sparc/prom/ranges.c index aeff43e44e45..0857aa9e839d 100644 --- a/arch/sparc/prom/ranges.c +++ b/arch/sparc/prom/ranges.c | |||
@@ -13,8 +13,8 @@ | |||
13 | #include <asm/types.h> | 13 | #include <asm/types.h> |
14 | #include <asm/system.h> | 14 | #include <asm/system.h> |
15 | 15 | ||
16 | struct linux_prom_ranges promlib_obio_ranges[PROMREG_MAX]; | 16 | static struct linux_prom_ranges promlib_obio_ranges[PROMREG_MAX]; |
17 | int num_obio_ranges; | 17 | static int num_obio_ranges; |
18 | 18 | ||
19 | /* Adjust register values based upon the ranges parameters. */ | 19 | /* Adjust register values based upon the ranges parameters. */ |
20 | static void | 20 | static void |
@@ -35,7 +35,7 @@ prom_adjust_regs(struct linux_prom_registers *regp, int nregs, | |||
35 | } | 35 | } |
36 | } | 36 | } |
37 | 37 | ||
38 | void | 38 | static void |
39 | prom_adjust_ranges(struct linux_prom_ranges *ranges1, int nranges1, | 39 | prom_adjust_ranges(struct linux_prom_ranges *ranges1, int nranges1, |
40 | struct linux_prom_ranges *ranges2, int nranges2) | 40 | struct linux_prom_ranges *ranges2, int nranges2) |
41 | { | 41 | { |
@@ -68,7 +68,7 @@ EXPORT_SYMBOL(prom_apply_obio_ranges); | |||
68 | 68 | ||
69 | void __init prom_ranges_init(void) | 69 | void __init prom_ranges_init(void) |
70 | { | 70 | { |
71 | int node, obio_node; | 71 | phandle node, obio_node; |
72 | int success; | 72 | int success; |
73 | 73 | ||
74 | num_obio_ranges = 0; | 74 | num_obio_ranges = 0; |
@@ -89,8 +89,8 @@ void __init prom_ranges_init(void) | |||
89 | prom_printf("PROMLIB: obio_ranges %d\n", num_obio_ranges); | 89 | prom_printf("PROMLIB: obio_ranges %d\n", num_obio_ranges); |
90 | } | 90 | } |
91 | 91 | ||
92 | void | 92 | void prom_apply_generic_ranges(phandle node, phandle parent, |
93 | prom_apply_generic_ranges (int node, int parent, struct linux_prom_registers *regs, int nregs) | 93 | struct linux_prom_registers *regs, int nregs) |
94 | { | 94 | { |
95 | int success; | 95 | int success; |
96 | int num_ranges; | 96 | int num_ranges; |