diff options
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/amiga/config.c | 6 | ||||
-rw-r--r-- | arch/m68k/atari/config.c | 6 | ||||
-rw-r--r-- | arch/m68k/kernel/setup.c | 13 | ||||
-rw-r--r-- | arch/m68k/q40/config.c | 2 |
4 files changed, 0 insertions, 27 deletions
diff --git a/arch/m68k/amiga/config.c b/arch/m68k/amiga/config.c index 8eadde9d2a8f..12e3706fe02c 100644 --- a/arch/m68k/amiga/config.c +++ b/arch/m68k/amiga/config.c | |||
@@ -105,9 +105,6 @@ static int a2000_hwclk (int, struct rtc_time *); | |||
105 | static int amiga_set_clock_mmss (unsigned long); | 105 | static int amiga_set_clock_mmss (unsigned long); |
106 | static unsigned int amiga_get_ss (void); | 106 | static unsigned int amiga_get_ss (void); |
107 | extern void amiga_mksound( unsigned int count, unsigned int ticks ); | 107 | extern void amiga_mksound( unsigned int count, unsigned int ticks ); |
108 | #ifdef CONFIG_AMIGA_FLOPPY | ||
109 | extern void amiga_floppy_setup(char *, int *); | ||
110 | #endif | ||
111 | static void amiga_reset (void); | 108 | static void amiga_reset (void); |
112 | extern void amiga_init_sound(void); | 109 | extern void amiga_init_sound(void); |
113 | static void amiga_savekmsg_init(void); | 110 | static void amiga_savekmsg_init(void); |
@@ -427,9 +424,6 @@ void __init config_amiga(void) | |||
427 | 424 | ||
428 | mach_set_clock_mmss = amiga_set_clock_mmss; | 425 | mach_set_clock_mmss = amiga_set_clock_mmss; |
429 | mach_get_ss = amiga_get_ss; | 426 | mach_get_ss = amiga_get_ss; |
430 | #ifdef CONFIG_AMIGA_FLOPPY | ||
431 | mach_floppy_setup = amiga_floppy_setup; | ||
432 | #endif | ||
433 | mach_reset = amiga_reset; | 427 | mach_reset = amiga_reset; |
434 | #if defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE) | 428 | #if defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE) |
435 | mach_beep = amiga_mksound; | 429 | mach_beep = amiga_mksound; |
diff --git a/arch/m68k/atari/config.c b/arch/m68k/atari/config.c index f6d266b5cc76..1012b08e5522 100644 --- a/arch/m68k/atari/config.c +++ b/arch/m68k/atari/config.c | |||
@@ -52,9 +52,6 @@ int atari_rtc_year_offset; | |||
52 | 52 | ||
53 | /* local function prototypes */ | 53 | /* local function prototypes */ |
54 | static void atari_reset( void ); | 54 | static void atari_reset( void ); |
55 | #ifdef CONFIG_ATARI_FLOPPY | ||
56 | extern void atari_floppy_setup(char *, int *); | ||
57 | #endif | ||
58 | static void atari_get_model(char *model); | 55 | static void atari_get_model(char *model); |
59 | static int atari_get_hardware_list(char *buffer); | 56 | static int atari_get_hardware_list(char *buffer); |
60 | 57 | ||
@@ -244,9 +241,6 @@ void __init config_atari(void) | |||
244 | mach_get_irq_list = show_atari_interrupts; | 241 | mach_get_irq_list = show_atari_interrupts; |
245 | mach_gettimeoffset = atari_gettimeoffset; | 242 | mach_gettimeoffset = atari_gettimeoffset; |
246 | mach_reset = atari_reset; | 243 | mach_reset = atari_reset; |
247 | #ifdef CONFIG_ATARI_FLOPPY | ||
248 | mach_floppy_setup = atari_floppy_setup; | ||
249 | #endif | ||
250 | mach_max_dma_address = 0xffffff; | 244 | mach_max_dma_address = 0xffffff; |
251 | #if defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE) | 245 | #if defined(CONFIG_INPUT_M68K_BEEP) || defined(CONFIG_INPUT_M68K_BEEP_MODULE) |
252 | mach_beep = atari_mksound; | 246 | mach_beep = atari_mksound; |
diff --git a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c index 583526fa59c7..750d5b3c971f 100644 --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c | |||
@@ -84,9 +84,6 @@ void (*mach_reset)( void ); | |||
84 | void (*mach_halt)( void ); | 84 | void (*mach_halt)( void ); |
85 | void (*mach_power_off)( void ); | 85 | void (*mach_power_off)( void ); |
86 | long mach_max_dma_address = 0x00ffffff; /* default set to the lower 16MB */ | 86 | long mach_max_dma_address = 0x00ffffff; /* default set to the lower 16MB */ |
87 | #if defined(CONFIG_AMIGA_FLOPPY) || defined(CONFIG_ATARI_FLOPPY) | ||
88 | void (*mach_floppy_setup) (char *, int *) __initdata = NULL; | ||
89 | #endif | ||
90 | #ifdef CONFIG_HEARTBEAT | 87 | #ifdef CONFIG_HEARTBEAT |
91 | void (*mach_heartbeat) (int); | 88 | void (*mach_heartbeat) (int); |
92 | EXPORT_SYMBOL(mach_heartbeat); | 89 | EXPORT_SYMBOL(mach_heartbeat); |
@@ -527,16 +524,6 @@ int get_hardware_list(char *buffer) | |||
527 | return(len); | 524 | return(len); |
528 | } | 525 | } |
529 | 526 | ||
530 | |||
531 | #if defined(CONFIG_AMIGA_FLOPPY) || defined(CONFIG_ATARI_FLOPPY) | ||
532 | void __init floppy_setup(char *str, int *ints) | ||
533 | { | ||
534 | if (mach_floppy_setup) | ||
535 | mach_floppy_setup (str, ints); | ||
536 | } | ||
537 | |||
538 | #endif | ||
539 | |||
540 | void check_bugs(void) | 527 | void check_bugs(void) |
541 | { | 528 | { |
542 | #ifndef CONFIG_M68KFPU_EMU | 529 | #ifndef CONFIG_M68KFPU_EMU |
diff --git a/arch/m68k/q40/config.c b/arch/m68k/q40/config.c index 67e88a4efac0..5e0f9b04d45e 100644 --- a/arch/m68k/q40/config.c +++ b/arch/m68k/q40/config.c | |||
@@ -36,8 +36,6 @@ | |||
36 | #include <asm/machdep.h> | 36 | #include <asm/machdep.h> |
37 | #include <asm/q40_master.h> | 37 | #include <asm/q40_master.h> |
38 | 38 | ||
39 | extern void floppy_setup(char *str, int *ints); | ||
40 | |||
41 | extern irqreturn_t q40_process_int (int level, struct pt_regs *regs); | 39 | extern irqreturn_t q40_process_int (int level, struct pt_regs *regs); |
42 | extern irqreturn_t (*q40_default_handler[]) (int, void *, struct pt_regs *); /* added just for debugging */ | 40 | extern irqreturn_t (*q40_default_handler[]) (int, void *, struct pt_regs *); /* added just for debugging */ |
43 | extern void q40_init_IRQ (void); | 41 | extern void q40_init_IRQ (void); |