aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/platform
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2007-10-23 22:03:16 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-23 23:45:44 -0400
commit0e298ebec4ddc84741340fb085887ad8732f727b (patch)
treeac7f3ddc2e1a8fb4903d541088474e3682098a67 /arch/m68knommu/platform
parent33d56bc4bf3efc0ecb07c95003cb7869f79f3999 (diff)
m68knommu: cleanup 68328 init code
Clean up 68328 timer support 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>
Diffstat (limited to 'arch/m68knommu/platform')
-rw-r--r--arch/m68knommu/platform/68328/config.c24
1 files changed, 2 insertions, 22 deletions
diff --git a/arch/m68knommu/platform/68328/config.c b/arch/m68knommu/platform/68328/config.c
index e5c537d14dfb..a7bd21deb00f 100644
--- a/arch/m68knommu/platform/68328/config.c
+++ b/arch/m68knommu/platform/68328/config.c
@@ -15,28 +15,14 @@
15 15
16/***************************************************************************/ 16/***************************************************************************/
17 17
18#include <asm/dbg.h>
19#include <stdarg.h>
20#include <linux/types.h> 18#include <linux/types.h>
21#include <linux/kernel.h> 19#include <linux/kernel.h>
22#include <linux/mm.h>
23#include <linux/tty.h>
24#include <linux/console.h>
25#include <linux/interrupt.h>
26#include <asm/current.h>
27
28#include <asm/setup.h>
29#include <asm/system.h> 20#include <asm/system.h>
30#include <asm/pgtable.h>
31#include <asm/irq.h>
32#include <asm/machdep.h> 21#include <asm/machdep.h>
33#include <asm/MC68328.h> 22#include <asm/MC68328.h>
34 23
35/***************************************************************************/ 24/***************************************************************************/
36 25
37void m68328_timer_init(irq_handler_t timer_routine);
38void m68328_timer_tick(void);
39unsigned long m68328_timer_gettimeoffset(void);
40void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); 26void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec);
41 27
42/***************************************************************************/ 28/***************************************************************************/
@@ -59,14 +45,8 @@ void config_BSP(char *command, int len)
59 printk(KERN_INFO "68328 support Kenneth Albanowski <kjahds@kjshds.com>\n"); 45 printk(KERN_INFO "68328 support Kenneth Albanowski <kjahds@kjshds.com>\n");
60 printk(KERN_INFO "68328/Pilot support Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de>\n"); 46 printk(KERN_INFO "68328/Pilot support Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de>\n");
61 47
62 mach_sched_init = m68328_timer_init; 48 mach_gettod = m68328_timer_gettod;
63 mach_tick = m68328_timer_tick; 49 mach_reset = m68328_reset;
64 mach_gettimeoffset = m68328_timer_gettimeoffset;
65 mach_gettod = m68328_timer_gettod;
66 mach_hwclk = NULL;
67 mach_set_clock_mmss = NULL;
68 mach_reset = m68328_reset;
69 *command = '\0';
70} 50}
71 51
72/***************************************************************************/ 52/***************************************************************************/