forked from luck/tmp_suning_uos_patched
[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>
This commit is contained in:
parent
1274c1088e
commit
eaefd5fb7d
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/param.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <asm/machdep.h>
|
||||
#include <asm/dma.h>
|
||||
|
||||
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user