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>
This commit is contained in:

committed by
Geert Uytterhoeven

parent
30c0527d15
commit
ed04c97d51
@@ -29,4 +29,10 @@ struct baboon {
|
||||
*/
|
||||
};
|
||||
|
||||
extern int baboon_present;
|
||||
|
||||
extern void baboon_register_interrupts(void);
|
||||
extern void baboon_irq_enable(int);
|
||||
extern void baboon_irq_disable(int);
|
||||
|
||||
#endif /* __ASSEMBLY **/
|
||||
|
@@ -159,4 +159,6 @@ extern void iop_upload_code(uint, __u8 *, uint, __u16);
|
||||
extern void iop_download_code(uint, __u8 *, uint, __u16);
|
||||
extern __u8 *iop_compare_code(uint, __u8 *, uint, __u16);
|
||||
|
||||
extern void iop_register_interrupts(void);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
@@ -91,4 +91,8 @@ struct mac_oss {
|
||||
extern volatile struct mac_oss *oss;
|
||||
extern int oss_present;
|
||||
|
||||
extern void oss_register_interrupts(void);
|
||||
extern void oss_irq_enable(int);
|
||||
extern void oss_irq_disable(int);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
@@ -211,6 +211,10 @@
|
||||
extern volatile __u8 *psc;
|
||||
extern int psc_present;
|
||||
|
||||
extern void psc_register_interrupts(void);
|
||||
extern void psc_irq_enable(int);
|
||||
extern void psc_irq_disable(int);
|
||||
|
||||
/*
|
||||
* Access functions
|
||||
*/
|
||||
|
@@ -254,6 +254,11 @@
|
||||
extern volatile __u8 *via1,*via2;
|
||||
extern int rbv_present,via_alt_mapping;
|
||||
|
||||
extern void via_register_interrupts(void);
|
||||
extern void via_irq_enable(int);
|
||||
extern void via_irq_disable(int);
|
||||
extern void via1_irq(unsigned int irq, struct irq_desc *desc);
|
||||
extern void via1_set_head(int);
|
||||
extern int via2_scsi_drq_pending(void);
|
||||
|
||||
static inline int rbv_set_video_bpp(int bpp)
|
||||
|
@@ -15,12 +15,6 @@ extern void mac_init_IRQ(void);
|
||||
extern void mac_irq_enable(struct irq_data *data);
|
||||
extern void mac_irq_disable(struct irq_data *data);
|
||||
|
||||
/*
|
||||
* Floppy driver magic hook - probably shouldn't be here
|
||||
*/
|
||||
|
||||
extern void via1_set_head(int);
|
||||
|
||||
/*
|
||||
* Macintosh Table
|
||||
*/
|
||||
|
Reference in New Issue
Block a user