diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-17 15:16:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 20:24:39 -0400 |
commit | 07b8125949de66b6552966de8d4280c3a8620359 (patch) | |
tree | 63452e21b34a57d8bd0ee3341d419781a77adddb /arch/m68k/sun3/idprom.c | |
parent | 22deb527ce5d13e07652f81a53032aa0214ea8c3 (diff) |
m68k/sun3/: possible cleanups
This patch contains the following possible cleanups:
- make the following needlessly global code static:
- config.c: sun3_bootmem_alloc()
- config.c: sun3_sched_init()
- dvma.c: dvma_page()
- idprom.c: struct Sun_Machines[]
- mmu_emu.c: struct ctx_alloc[]
- sun3dvma.c: iommu_use[]
- sun3ints.c: led_pattern[]
- remove the unused sbus.c
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/sun3/idprom.c')
-rw-r--r-- | arch/m68k/sun3/idprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/sun3/idprom.c b/arch/m68k/sun3/idprom.c index 6c5336d62fae..c86ac37d1983 100644 --- a/arch/m68k/sun3/idprom.c +++ b/arch/m68k/sun3/idprom.c | |||
@@ -25,7 +25,7 @@ static struct idprom idprom_buffer; | |||
25 | * of the Sparc CPU and have a meaningful IDPROM machtype value that we | 25 | * of the Sparc CPU and have a meaningful IDPROM machtype value that we |
26 | * know about. See asm-sparc/machines.h for empirical constants. | 26 | * know about. See asm-sparc/machines.h for empirical constants. |
27 | */ | 27 | */ |
28 | struct Sun_Machine_Models Sun_Machines[NUM_SUN_MACHINES] = { | 28 | static struct Sun_Machine_Models Sun_Machines[NUM_SUN_MACHINES] = { |
29 | /* First, Sun3's */ | 29 | /* First, Sun3's */ |
30 | { .name = "Sun 3/160 Series", .id_machtype = (SM_SUN3 | SM_3_160) }, | 30 | { .name = "Sun 3/160 Series", .id_machtype = (SM_SUN3 | SM_3_160) }, |
31 | { .name = "Sun 3/50", .id_machtype = (SM_SUN3 | SM_3_50) }, | 31 | { .name = "Sun 3/50", .id_machtype = (SM_SUN3 | SM_3_50) }, |