diff options
Diffstat (limited to 'arch/sparc64/kernel/central.c')
-rw-r--r-- | arch/sparc64/kernel/central.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/sparc64/kernel/central.c b/arch/sparc64/kernel/central.c index b61b8dfb09cf..f2e87d0d7e1d 100644 --- a/arch/sparc64/kernel/central.c +++ b/arch/sparc64/kernel/central.c | |||
@@ -16,8 +16,8 @@ | |||
16 | #include <asm/fhc.h> | 16 | #include <asm/fhc.h> |
17 | #include <asm/starfire.h> | 17 | #include <asm/starfire.h> |
18 | 18 | ||
19 | struct linux_central *central_bus = NULL; | 19 | static struct linux_central *central_bus = NULL; |
20 | struct linux_fhc *fhc_list = NULL; | 20 | static struct linux_fhc *fhc_list = NULL; |
21 | 21 | ||
22 | #define IS_CENTRAL_FHC(__fhc) ((__fhc) == central_bus->child) | 22 | #define IS_CENTRAL_FHC(__fhc) ((__fhc) == central_bus->child) |
23 | 23 | ||
@@ -79,9 +79,9 @@ static void adjust_regs(struct linux_prom_registers *regp, int nregs, | |||
79 | } | 79 | } |
80 | 80 | ||
81 | /* Apply probed fhc ranges to registers passed, if no ranges return. */ | 81 | /* Apply probed fhc ranges to registers passed, if no ranges return. */ |
82 | void apply_fhc_ranges(struct linux_fhc *fhc, | 82 | static void apply_fhc_ranges(struct linux_fhc *fhc, |
83 | struct linux_prom_registers *regs, | 83 | struct linux_prom_registers *regs, |
84 | int nregs) | 84 | int nregs) |
85 | { | 85 | { |
86 | if (fhc->num_fhc_ranges) | 86 | if (fhc->num_fhc_ranges) |
87 | adjust_regs(regs, nregs, fhc->fhc_ranges, | 87 | adjust_regs(regs, nregs, fhc->fhc_ranges, |
@@ -89,8 +89,8 @@ void apply_fhc_ranges(struct linux_fhc *fhc, | |||
89 | } | 89 | } |
90 | 90 | ||
91 | /* Apply probed central ranges to registers passed, if no ranges return. */ | 91 | /* Apply probed central ranges to registers passed, if no ranges return. */ |
92 | void apply_central_ranges(struct linux_central *central, | 92 | static void apply_central_ranges(struct linux_central *central, |
93 | struct linux_prom_registers *regs, int nregs) | 93 | struct linux_prom_registers *regs, int nregs) |
94 | { | 94 | { |
95 | if (central->num_central_ranges) | 95 | if (central->num_central_ranges) |
96 | adjust_regs(regs, nregs, central->central_ranges, | 96 | adjust_regs(regs, nregs, central->central_ranges, |