Skip to content

Commit

Permalink
[PATCH] m68knommu: use irq_handler_t for passing handler types
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Feb 9, 2007
1 parent 1274c10 commit eaefd5f
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/5206/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/***************************************************************************/

void coldfire_tick(void);
void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/5206e/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/***************************************************************************/

void coldfire_tick(void);
void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
3 changes: 2 additions & 1 deletion arch/m68knommu/platform/520x/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/interrupt.h>
#include <asm/machdep.h>
#include <asm/dma.h>

Expand All @@ -27,7 +28,7 @@ unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
/***************************************************************************/

void coldfire_pit_tick(void);
void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_pit_init(irq_handler_t handler);
unsigned long coldfire_pit_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/523x/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/***************************************************************************/

void coldfire_pit_tick(void);
void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_pit_init(irq_handler_t handler);
unsigned long coldfire_pit_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
3 changes: 2 additions & 1 deletion arch/m68knommu/platform/5249/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <linux/sched.h>
#include <linux/param.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/irq.h>
#include <asm/dma.h>
#include <asm/traps.h>
Expand All @@ -24,7 +25,7 @@
/***************************************************************************/

void coldfire_tick(void);
void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/5272/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/***************************************************************************/

void coldfire_tick(void);
void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/527x/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/***************************************************************************/

void coldfire_pit_tick(void);
void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_pit_init(irq_handler_t handler);
unsigned long coldfire_pit_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/528x/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/***************************************************************************/

void coldfire_pit_tick(void);
void coldfire_pit_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_pit_init(irq_handler_t handler);
unsigned long coldfire_pit_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/5307/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/***************************************************************************/

void coldfire_tick(void);
void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/532x/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/***************************************************************************/

void coldfire_tick(void);
void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/5407/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/***************************************************************************/

void coldfire_tick(void);
void coldfire_timer_init(irqreturn_t (*handler)(int, void *, struct pt_regs *));
void coldfire_timer_init(irq_handler_t handler);
unsigned long coldfire_timer_offset(void);
void coldfire_trap_init(void);
void coldfire_reset(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/68328/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

/***************************************************************************/

void m68328_timer_init(irqreturn_t (*timer_routine) (int, void *, struct pt_regs *));
void m68328_timer_init(irq_handler_t timer_routine);
void m68328_timer_tick(void);
unsigned long m68328_timer_gettimeoffset(void);
void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec);
Expand Down

0 comments on commit eaefd5f

Please sign in to comment.