diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-02-06 21:03:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 13:45:33 -0500 |
commit | eaefd5fb7d793c9c1bcef1b0c0d5ec3824a85b91 (patch) | |
tree | 93eb9dc7d68dbfe4c77d11951f1ce10c4a282982 /arch/m68knommu | |
parent | 1274c1088e54aa178d8546a3830fb533062d01f4 (diff) |
[PATCH] m68knommu: use irq_handler_t for passing handler types
Use irq_handler_t for passing clock handler routine around.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/platform/5206/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/5206e/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/520x/config.c | 3 | ||||
-rw-r--r-- | arch/m68knommu/platform/523x/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/5249/config.c | 3 | ||||
-rw-r--r-- | arch/m68knommu/platform/5272/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/527x/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/528x/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/5307/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/532x/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/5407/config.c | 2 | ||||
-rw-r--r-- | arch/m68knommu/platform/68328/config.c | 2 |
12 files changed, 14 insertions, 12 deletions
diff --git a/arch/m68knommu/platform/5206/config.c b/arch/m68knommu/platform/5206/config.c index 34657f85e702..3343830aad10 100644 --- a/arch/m68knommu/platform/5206/config.c +++ b/arch/m68knommu/platform/5206/config.c | |||
@@ -26,7 +26,7 @@ | |||
26 | /***************************************************************************/ | 26 | /***************************************************************************/ |
27 | 27 | ||
28 | void coldfire_tick(void); | 28 | void coldfire_tick(void); |
29 | void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 29 | void coldfire_timer_init(irq_handler_t handler); |
30 | unsigned long coldfire_timer_offset(void); | 30 | unsigned long coldfire_timer_offset(void); |
31 | void coldfire_trap_init(void); | 31 | void coldfire_trap_init(void); |
32 | void coldfire_reset(void); | 32 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/5206e/config.c b/arch/m68knommu/platform/5206e/config.c index 48e4d6266507..0f67320b4031 100644 --- a/arch/m68knommu/platform/5206e/config.c +++ b/arch/m68knommu/platform/5206e/config.c | |||
@@ -25,7 +25,7 @@ | |||
25 | /***************************************************************************/ | 25 | /***************************************************************************/ |
26 | 26 | ||
27 | void coldfire_tick(void); | 27 | void coldfire_tick(void); |
28 | void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 28 | void coldfire_timer_init(irq_handler_t handler); |
29 | unsigned long coldfire_timer_offset(void); | 29 | unsigned long coldfire_timer_offset(void); |
30 | void coldfire_trap_init(void); | 30 | void coldfire_trap_init(void); |
31 | void coldfire_reset(void); | 31 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/520x/config.c b/arch/m68knommu/platform/520x/config.c index 823f561f35b0..58b2878deb61 100644 --- a/arch/m68knommu/platform/520x/config.c +++ b/arch/m68knommu/platform/520x/config.c | |||
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/param.h> | 15 | #include <linux/param.h> |
16 | #include <linux/interrupt.h> | ||
16 | #include <asm/machdep.h> | 17 | #include <asm/machdep.h> |
17 | #include <asm/dma.h> | 18 | #include <asm/dma.h> |
18 | 19 | ||
@@ -27,7 +28,7 @@ unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS]; | |||
27 | /***************************************************************************/ | 28 | /***************************************************************************/ |
28 | 29 | ||
29 | void coldfire_pit_tick(void); | 30 | void coldfire_pit_tick(void); |
30 | void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 31 | void coldfire_pit_init(irq_handler_t handler); |
31 | unsigned long coldfire_pit_offset(void); | 32 | unsigned long coldfire_pit_offset(void); |
32 | void coldfire_trap_init(void); | 33 | void coldfire_trap_init(void); |
33 | void coldfire_reset(void); | 34 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/523x/config.c b/arch/m68knommu/platform/523x/config.c index 85de817e9ec5..9b054e6caee2 100644 --- a/arch/m68knommu/platform/523x/config.c +++ b/arch/m68knommu/platform/523x/config.c | |||
@@ -27,7 +27,7 @@ | |||
27 | /***************************************************************************/ | 27 | /***************************************************************************/ |
28 | 28 | ||
29 | void coldfire_pit_tick(void); | 29 | void coldfire_pit_tick(void); |
30 | void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 30 | void coldfire_pit_init(irq_handler_t handler); |
31 | unsigned long coldfire_pit_offset(void); | 31 | unsigned long coldfire_pit_offset(void); |
32 | void coldfire_trap_init(void); | 32 | void coldfire_trap_init(void); |
33 | void coldfire_reset(void); | 33 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/5249/config.c b/arch/m68knommu/platform/5249/config.c index 9d19d5bdb8af..d6706079d64a 100644 --- a/arch/m68knommu/platform/5249/config.c +++ b/arch/m68knommu/platform/5249/config.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
13 | #include <linux/param.h> | 13 | #include <linux/param.h> |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/interrupt.h> | ||
15 | #include <asm/irq.h> | 16 | #include <asm/irq.h> |
16 | #include <asm/dma.h> | 17 | #include <asm/dma.h> |
17 | #include <asm/traps.h> | 18 | #include <asm/traps.h> |
@@ -24,7 +25,7 @@ | |||
24 | /***************************************************************************/ | 25 | /***************************************************************************/ |
25 | 26 | ||
26 | void coldfire_tick(void); | 27 | void coldfire_tick(void); |
27 | void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 28 | void coldfire_timer_init(irq_handler_t handler); |
28 | unsigned long coldfire_timer_offset(void); | 29 | unsigned long coldfire_timer_offset(void); |
29 | void coldfire_trap_init(void); | 30 | void coldfire_trap_init(void); |
30 | void coldfire_reset(void); | 31 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/5272/config.c b/arch/m68knommu/platform/5272/config.c index d500e27eda57..6b437cc97776 100644 --- a/arch/m68knommu/platform/5272/config.c +++ b/arch/m68knommu/platform/5272/config.c | |||
@@ -26,7 +26,7 @@ | |||
26 | /***************************************************************************/ | 26 | /***************************************************************************/ |
27 | 27 | ||
28 | void coldfire_tick(void); | 28 | void coldfire_tick(void); |
29 | void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 29 | void coldfire_timer_init(irq_handler_t handler); |
30 | unsigned long coldfire_timer_offset(void); | 30 | unsigned long coldfire_timer_offset(void); |
31 | void coldfire_trap_init(void); | 31 | void coldfire_trap_init(void); |
32 | void coldfire_reset(void); | 32 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/527x/config.c b/arch/m68knommu/platform/527x/config.c index bbae51597457..28e7d964eef1 100644 --- a/arch/m68knommu/platform/527x/config.c +++ b/arch/m68knommu/platform/527x/config.c | |||
@@ -27,7 +27,7 @@ | |||
27 | /***************************************************************************/ | 27 | /***************************************************************************/ |
28 | 28 | ||
29 | void coldfire_pit_tick(void); | 29 | void coldfire_pit_tick(void); |
30 | void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 30 | void coldfire_pit_init(irq_handler_t handler); |
31 | unsigned long coldfire_pit_offset(void); | 31 | unsigned long coldfire_pit_offset(void); |
32 | void coldfire_trap_init(void); | 32 | void coldfire_trap_init(void); |
33 | void coldfire_reset(void); | 33 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/528x/config.c b/arch/m68knommu/platform/528x/config.c index 18dad9046144..805b4f74ff19 100644 --- a/arch/m68knommu/platform/528x/config.c +++ b/arch/m68knommu/platform/528x/config.c | |||
@@ -27,7 +27,7 @@ | |||
27 | /***************************************************************************/ | 27 | /***************************************************************************/ |
28 | 28 | ||
29 | void coldfire_pit_tick(void); | 29 | void coldfire_pit_tick(void); |
30 | void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 30 | void coldfire_pit_init(irq_handler_t handler); |
31 | unsigned long coldfire_pit_offset(void); | 31 | unsigned long coldfire_pit_offset(void); |
32 | void coldfire_trap_init(void); | 32 | void coldfire_trap_init(void); |
33 | void coldfire_reset(void); | 33 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/5307/config.c b/arch/m68knommu/platform/5307/config.c index 8074ac56f479..e04b84deb57d 100644 --- a/arch/m68knommu/platform/5307/config.c +++ b/arch/m68knommu/platform/5307/config.c | |||
@@ -27,7 +27,7 @@ | |||
27 | /***************************************************************************/ | 27 | /***************************************************************************/ |
28 | 28 | ||
29 | void coldfire_tick(void); | 29 | void coldfire_tick(void); |
30 | void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 30 | void coldfire_timer_init(irq_handler_t handler); |
31 | unsigned long coldfire_timer_offset(void); | 31 | unsigned long coldfire_timer_offset(void); |
32 | void coldfire_trap_init(void); | 32 | void coldfire_trap_init(void); |
33 | void coldfire_reset(void); | 33 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/532x/config.c b/arch/m68knommu/platform/532x/config.c index c7d6ad513820..664c3a12b0c1 100644 --- a/arch/m68knommu/platform/532x/config.c +++ b/arch/m68knommu/platform/532x/config.c | |||
@@ -35,7 +35,7 @@ | |||
35 | /***************************************************************************/ | 35 | /***************************************************************************/ |
36 | 36 | ||
37 | void coldfire_tick(void); | 37 | void coldfire_tick(void); |
38 | void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 38 | void coldfire_timer_init(irq_handler_t handler); |
39 | unsigned long coldfire_timer_offset(void); | 39 | unsigned long coldfire_timer_offset(void); |
40 | void coldfire_trap_init(void); | 40 | void coldfire_trap_init(void); |
41 | void coldfire_reset(void); | 41 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/5407/config.c b/arch/m68knommu/platform/5407/config.c index 5aad2645f0f1..036f62876241 100644 --- a/arch/m68knommu/platform/5407/config.c +++ b/arch/m68knommu/platform/5407/config.c | |||
@@ -26,7 +26,7 @@ | |||
26 | /***************************************************************************/ | 26 | /***************************************************************************/ |
27 | 27 | ||
28 | void coldfire_tick(void); | 28 | void coldfire_tick(void); |
29 | void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *)); | 29 | void coldfire_timer_init(irq_handler_t handler); |
30 | unsigned long coldfire_timer_offset(void); | 30 | unsigned long coldfire_timer_offset(void); |
31 | void coldfire_trap_init(void); | 31 | void coldfire_trap_init(void); |
32 | void coldfire_reset(void); | 32 | void coldfire_reset(void); |
diff --git a/arch/m68knommu/platform/68328/config.c b/arch/m68knommu/platform/68328/config.c index 26ffeba28642..e5c537d14dfb 100644 --- a/arch/m68knommu/platform/68328/config.c +++ b/arch/m68knommu/platform/68328/config.c | |||
@@ -34,7 +34,7 @@ | |||
34 | 34 | ||
35 | /***************************************************************************/ | 35 | /***************************************************************************/ |
36 | 36 | ||
37 | void m68328_timer_init(irqreturn_t (*timer_routine) (int, void *, struct pt_regs *)); | 37 | void m68328_timer_init(irq_handler_t timer_routine); |
38 | void m68328_timer_tick(void); | 38 | void m68328_timer_tick(void); |
39 | unsigned long m68328_timer_gettimeoffset(void); | 39 | unsigned long m68328_timer_gettimeoffset(void); |
40 | void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); | 40 | void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec); |