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 /include/asm-m68k | |
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 'include/asm-m68k')
-rw-r--r-- | include/asm-m68k/mac_baboon.h | 2 | ||||
-rw-r--r-- | include/asm-m68k/mac_via.h | 1 | ||||
-rw-r--r-- | include/asm-m68k/macintosh.h | 5 |
3 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-m68k/mac_baboon.h b/include/asm-m68k/mac_baboon.h index e87850830be8..c2a042b8c349 100644 --- a/include/asm-m68k/mac_baboon.h +++ b/include/asm-m68k/mac_baboon.h | |||
@@ -29,6 +29,4 @@ struct baboon { | |||
29 | */ | 29 | */ |
30 | }; | 30 | }; |
31 | 31 | ||
32 | extern volatile struct baboon *baboon; | ||
33 | |||
34 | #endif /* __ASSEMBLY **/ | 32 | #endif /* __ASSEMBLY **/ |
diff --git a/include/asm-m68k/mac_via.h b/include/asm-m68k/mac_via.h index 59b758cd16ad..39afb438b656 100644 --- a/include/asm-m68k/mac_via.h +++ b/include/asm-m68k/mac_via.h | |||
@@ -253,7 +253,6 @@ | |||
253 | 253 | ||
254 | extern volatile __u8 *via1,*via2; | 254 | extern volatile __u8 *via1,*via2; |
255 | extern int rbv_present,via_alt_mapping; | 255 | extern int rbv_present,via_alt_mapping; |
256 | extern __u8 rbv_clear; | ||
257 | 256 | ||
258 | static inline int rbv_set_video_bpp(int bpp) | 257 | static inline int rbv_set_video_bpp(int bpp) |
259 | { | 258 | { |
diff --git a/include/asm-m68k/macintosh.h b/include/asm-m68k/macintosh.h index 28b0f49ee521..05309f7e3d06 100644 --- a/include/asm-m68k/macintosh.h +++ b/include/asm-m68k/macintosh.h | |||
@@ -12,8 +12,6 @@ extern void mac_reset(void); | |||
12 | extern void mac_poweroff(void); | 12 | extern void mac_poweroff(void); |
13 | extern void mac_init_IRQ(void); | 13 | extern void mac_init_IRQ(void); |
14 | extern int mac_irq_pending(unsigned int); | 14 | extern int mac_irq_pending(unsigned int); |
15 | extern void mac_identify(void); | ||
16 | extern void mac_report_hardware(void); | ||
17 | 15 | ||
18 | /* | 16 | /* |
19 | * Floppy driver magic hook - probably shouldnt be here | 17 | * Floppy driver magic hook - probably shouldnt be here |
@@ -21,9 +19,6 @@ extern void mac_report_hardware(void); | |||
21 | 19 | ||
22 | extern void via1_set_head(int); | 20 | extern void via1_set_head(int); |
23 | 21 | ||
24 | extern void parse_booter(char *ptr); | ||
25 | extern void print_booter(char *ptr); | ||
26 | |||
27 | /* | 22 | /* |
28 | * Macintosh Table | 23 | * Macintosh Table |
29 | */ | 24 | */ |