diff options
| author | Greg Ungerer <gerg@snapgear.com> | 2007-10-23 22:03:32 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-23 23:45:44 -0400 |
| commit | 65fde4c6dfd27665b13336d7dfc47daa7fa960cb (patch) | |
| tree | dc8127bfe52e10f2600def4e1608263d2eb9cd25 | |
| parent | f1353707b79cb863a7f081c77067db6280e8ce64 (diff) | |
m68knommu: cleanup 68VZ328 init code
Removed header includes not needed.
Remove use of old m68knommu timer function pointers.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -rw-r--r-- | arch/m68knommu/platform/68VZ328/config.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/m68knommu/platform/68VZ328/config.c b/arch/m68knommu/platform/68VZ328/config.c index 79dced929c97..fc5c63054e98 100644 --- a/arch/m68knommu/platform/68VZ328/config.c +++ b/arch/m68knommu/platform/68VZ328/config.c | |||
| @@ -16,17 +16,13 @@ | |||
| 16 | 16 | ||
| 17 | #include <linux/types.h> | 17 | #include <linux/types.h> |
| 18 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
| 19 | #include <linux/mm.h> | ||
| 20 | #include <linux/tty.h> | ||
| 21 | #include <linux/console.h> | ||
| 22 | #include <linux/kd.h> | 19 | #include <linux/kd.h> |
| 23 | #include <linux/netdevice.h> | 20 | #include <linux/netdevice.h> |
| 24 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
| 22 | #include <linux/irq.h> | ||
| 25 | 23 | ||
| 26 | #include <asm/setup.h> | ||
| 27 | #include <asm/system.h> | 24 | #include <asm/system.h> |
| 28 | #include <asm/pgtable.h> | 25 | #include <asm/pgtable.h> |
| 29 | #include <asm/irq.h> | ||
| 30 | #include <asm/machdep.h> | 26 | #include <asm/machdep.h> |
| 31 | #include <asm/MC68VZ328.h> | 27 | #include <asm/MC68VZ328.h> |
| 32 | #include <asm/bootstd.h> | 28 | #include <asm/bootstd.h> |
| @@ -37,9 +33,6 @@ | |||
| 37 | 33 | ||
| 38 | /***************************************************************************/ | 34 | /***************************************************************************/ |
| 39 | 35 | ||
| 40 | void m68328_timer_init(irq_handler_t timer_routine); | ||
| 41 | void m68328_timer_tick(void); | ||
| 42 | unsigned long m68328_timer_gettimeoffset(void); | ||
| 43 | void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); | 36 | void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); |
| 44 | 37 | ||
| 45 | /***************************************************************************/ | 38 | /***************************************************************************/ |
| @@ -193,9 +186,6 @@ void config_BSP(char *command, int size) | |||
| 193 | 186 | ||
| 194 | init_hardware(command, size); | 187 | init_hardware(command, size); |
| 195 | 188 | ||
| 196 | mach_sched_init = (void *) m68328_timer_init; | ||
| 197 | mach_tick = m68328_timer_tick; | ||
| 198 | mach_gettimeoffset = m68328_timer_gettimeoffset; | ||
| 199 | mach_gettod = m68328_timer_gettod; | 189 | mach_gettod = m68328_timer_gettod; |
| 200 | mach_reset = m68vz328_reset; | 190 | mach_reset = m68vz328_reset; |
| 201 | } | 191 | } |
