diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2011-10-23 10:11:15 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-12-10 13:52:46 -0500 |
commit | ed04c97d5187c2d606a8fee0ec9ba172942ee508 (patch) | |
tree | 47d52cb075cce81d874a17c092fc8ccab4cc053b /arch/m68k/include | |
parent | 30c0527d15ce4edcde64581e9d062ba9fb08fe16 (diff) |
m68k/mac: cleanup forward declarations
Move some forward declarations into header files and adjust includes.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r-- | arch/m68k/include/asm/mac_baboon.h | 6 | ||||
-rw-r--r-- | arch/m68k/include/asm/mac_iop.h | 2 | ||||
-rw-r--r-- | arch/m68k/include/asm/mac_oss.h | 4 | ||||
-rw-r--r-- | arch/m68k/include/asm/mac_psc.h | 4 | ||||
-rw-r--r-- | arch/m68k/include/asm/mac_via.h | 5 | ||||
-rw-r--r-- | arch/m68k/include/asm/macintosh.h | 6 |
6 files changed, 21 insertions, 6 deletions
diff --git a/arch/m68k/include/asm/mac_baboon.h b/arch/m68k/include/asm/mac_baboon.h index c2a042b8c349..a2d32f6589f9 100644 --- a/arch/m68k/include/asm/mac_baboon.h +++ b/arch/m68k/include/asm/mac_baboon.h | |||
@@ -29,4 +29,10 @@ struct baboon { | |||
29 | */ | 29 | */ |
30 | }; | 30 | }; |
31 | 31 | ||
32 | extern int baboon_present; | ||
33 | |||
34 | extern void baboon_register_interrupts(void); | ||
35 | extern void baboon_irq_enable(int); | ||
36 | extern void baboon_irq_disable(int); | ||
37 | |||
32 | #endif /* __ASSEMBLY **/ | 38 | #endif /* __ASSEMBLY **/ |
diff --git a/arch/m68k/include/asm/mac_iop.h b/arch/m68k/include/asm/mac_iop.h index a2c7e6fcca38..fde874a01e20 100644 --- a/arch/m68k/include/asm/mac_iop.h +++ b/arch/m68k/include/asm/mac_iop.h | |||
@@ -159,4 +159,6 @@ extern void iop_upload_code(uint, __u8 *, uint, __u16); | |||
159 | extern void iop_download_code(uint, __u8 *, uint, __u16); | 159 | extern void iop_download_code(uint, __u8 *, uint, __u16); |
160 | extern __u8 *iop_compare_code(uint, __u8 *, uint, __u16); | 160 | extern __u8 *iop_compare_code(uint, __u8 *, uint, __u16); |
161 | 161 | ||
162 | extern void iop_register_interrupts(void); | ||
163 | |||
162 | #endif /* __ASSEMBLY__ */ | 164 | #endif /* __ASSEMBLY__ */ |
diff --git a/arch/m68k/include/asm/mac_oss.h b/arch/m68k/include/asm/mac_oss.h index 3cf2b6ed685a..3f04a66f0933 100644 --- a/arch/m68k/include/asm/mac_oss.h +++ b/arch/m68k/include/asm/mac_oss.h | |||
@@ -91,4 +91,8 @@ struct mac_oss { | |||
91 | extern volatile struct mac_oss *oss; | 91 | extern volatile struct mac_oss *oss; |
92 | extern int oss_present; | 92 | extern int oss_present; |
93 | 93 | ||
94 | extern void oss_register_interrupts(void); | ||
95 | extern void oss_irq_enable(int); | ||
96 | extern void oss_irq_disable(int); | ||
97 | |||
94 | #endif /* __ASSEMBLY__ */ | 98 | #endif /* __ASSEMBLY__ */ |
diff --git a/arch/m68k/include/asm/mac_psc.h b/arch/m68k/include/asm/mac_psc.h index 7808bb0b2323..e5c0d71d1543 100644 --- a/arch/m68k/include/asm/mac_psc.h +++ b/arch/m68k/include/asm/mac_psc.h | |||
@@ -211,6 +211,10 @@ | |||
211 | extern volatile __u8 *psc; | 211 | extern volatile __u8 *psc; |
212 | extern int psc_present; | 212 | extern int psc_present; |
213 | 213 | ||
214 | extern void psc_register_interrupts(void); | ||
215 | extern void psc_irq_enable(int); | ||
216 | extern void psc_irq_disable(int); | ||
217 | |||
214 | /* | 218 | /* |
215 | * Access functions | 219 | * Access functions |
216 | */ | 220 | */ |
diff --git a/arch/m68k/include/asm/mac_via.h b/arch/m68k/include/asm/mac_via.h index 3622cf89f831..53e831c4097e 100644 --- a/arch/m68k/include/asm/mac_via.h +++ b/arch/m68k/include/asm/mac_via.h | |||
@@ -254,6 +254,11 @@ | |||
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 | 256 | ||
257 | extern void via_register_interrupts(void); | ||
258 | extern void via_irq_enable(int); | ||
259 | extern void via_irq_disable(int); | ||
260 | extern void via1_irq(unsigned int irq, struct irq_desc *desc); | ||
261 | extern void via1_set_head(int); | ||
257 | extern int via2_scsi_drq_pending(void); | 262 | extern int via2_scsi_drq_pending(void); |
258 | 263 | ||
259 | static inline int rbv_set_video_bpp(int bpp) | 264 | static inline int rbv_set_video_bpp(int bpp) |
diff --git a/arch/m68k/include/asm/macintosh.h b/arch/m68k/include/asm/macintosh.h index e5bf02d3741d..b02418c45b86 100644 --- a/arch/m68k/include/asm/macintosh.h +++ b/arch/m68k/include/asm/macintosh.h | |||
@@ -16,12 +16,6 @@ extern void mac_irq_enable(struct irq_data *data); | |||
16 | extern void mac_irq_disable(struct irq_data *data); | 16 | extern void mac_irq_disable(struct irq_data *data); |
17 | 17 | ||
18 | /* | 18 | /* |
19 | * Floppy driver magic hook - probably shouldn't be here | ||
20 | */ | ||
21 | |||
22 | extern void via1_set_head(int); | ||
23 | |||
24 | /* | ||
25 | * Macintosh Table | 19 | * Macintosh Table |
26 | */ | 20 | */ |
27 | 21 | ||