diff options
Diffstat (limited to 'arch/mips/jazz/setup.c')
-rw-r--r-- | arch/mips/jazz/setup.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/arch/mips/jazz/setup.c b/arch/mips/jazz/setup.c index 7508904a5..243586428 100644 --- a/arch/mips/jazz/setup.c +++ b/arch/mips/jazz/setup.c @@ -1,4 +1,5 @@ -/* +/* $Id: setup.c,v 1.11 1998/06/25 20:19:15 ralf Exp $ + * * Setup pointers to hardware dependant routines. * * This file is subject to the terms and conditions of the GNU General Public @@ -6,8 +7,6 @@ * for more details. * * Copyright (C) 1996, 1997, 1998 by Ralf Baechle - * - * $Id: setup.c,v 1.9 1998/03/17 22:07:31 ralf Exp $ */ #include <linux/config.h> #include <linux/hdreg.h> @@ -23,7 +22,6 @@ #include <asm/jazz.h> #include <asm/ptrace.h> #include <asm/reboot.h> -#include <asm/vector.h> #include <asm/io.h> #include <asm/pgtable.h> @@ -38,8 +36,6 @@ static void no_action(int cpl, void *dev_id, struct pt_regs *regs) { } static struct irqaction irq2 = { no_action, 0, 0, "cascade", NULL, NULL}; extern asmlinkage void jazz_handle_int(void); -extern asmlinkage void jazz_fd_cacheflush(const void *addr, size_t size); -extern struct feature jazz_feature; extern void jazz_keyboard_setup(void); extern void jazz_machine_restart(char *command); @@ -47,6 +43,7 @@ extern void jazz_machine_halt(void); extern void jazz_machine_power_off(void); extern struct ide_ops std_ide_ops; +extern struct rtc_ops jazz_rtc_ops; void (*board_time_init)(struct irqaction *irq); @@ -110,9 +107,7 @@ __initfunc(void jazz_setup(void)) add_wired_entry (0x01800017, 0x01000017, 0xe4000000, PM_4M); irq_setup = jazz_irq_setup; - fd_cacheflush = jazz_fd_cacheflush; keyboard_setup = jazz_keyboard_setup; - feature = &jazz_feature; // Will go away mips_io_port_base = JAZZ_PORT_BASE; isa_slot_offset = 0xe3000000; request_region(0x00,0x20,"dma1"); @@ -129,4 +124,6 @@ __initfunc(void jazz_setup(void)) #ifdef CONFIG_BLK_DEV_IDE ide_ops = &std_ide_ops; #endif + + rtc_ops = &jazz_rtc_ops; } |