diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-17 15:16:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 20:24:39 -0400 |
commit | 8dfbdf4abad6e5a7bbd097bf7e2c0ec41e0c54b4 (patch) | |
tree | 37e8208051453eb1bb85d0602161e827d95cf38e /arch/m68k/mac/psc.c | |
parent | 5575d0a3c9676b2886adad67dd4b2ac126a49f1f (diff) |
m68k/mac/: possible cleanups
This patch contains the following possible cleanups:
- make the following needlessly global code (always) static:
- baboon.c: struct baboon
- baboon.c: baboon_irq()
- config.c: mac_orig_videoaddr
- config.c: mac_identify()
- config.c: mac_report_hardware()
- config.c: mac_debug_console_write()
- config.c: mac_sccb_console_write()
- config.c: mac_scca_console_write()
- config.c: mac_init_scc_port()
- oss.c: oss_irq()
- oss.c: oss_nubus_irq()
- psc.c: psc_debug_dump()
- psc.c: psc_dma_die_die_die()
- via.c: rbv_clear
- remove the unused bootparse.c
- #if 0 the following unused functions:
- config.c: mac_debugging_short()
- config.c: mac_debugging_long()
- remove the following unused code:
- config.c: mac_bisize
- config.c: mac_env
- config.c: mac_SCC_init_done
- config.c: mac_SCC_reset_done
- config.c: mac_init_scca_port()
- config.c: mac_init_sccb_port()
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/mac/psc.c')
-rw-r--r-- | arch/m68k/mac/psc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/mac/psc.c b/arch/m68k/mac/psc.c index d66f723b17c3..f84a4dd64f94 100644 --- a/arch/m68k/mac/psc.c +++ b/arch/m68k/mac/psc.c | |||
@@ -36,7 +36,7 @@ irqreturn_t psc_irq(int, void *); | |||
36 | * Debugging dump, used in various places to see what's going on. | 36 | * Debugging dump, used in various places to see what's going on. |
37 | */ | 37 | */ |
38 | 38 | ||
39 | void psc_debug_dump(void) | 39 | static void psc_debug_dump(void) |
40 | { | 40 | { |
41 | int i; | 41 | int i; |
42 | 42 | ||
@@ -55,7 +55,7 @@ void psc_debug_dump(void) | |||
55 | * expanded to cover what I think are the other 7 channels. | 55 | * expanded to cover what I think are the other 7 channels. |
56 | */ | 56 | */ |
57 | 57 | ||
58 | void psc_dma_die_die_die(void) | 58 | static void psc_dma_die_die_die(void) |
59 | { | 59 | { |
60 | int i; | 60 | int i; |
61 | 61 | ||