[PATCH] m68knommu: use irq_handler_t passing handler to PIT init
Use irq_handler_t type for passing timer handler to timer init code. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
56591b9961
commit
459c6a9b8e
|
@ -43,7 +43,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)
|
||||||
{
|
{
|
||||||
volatile unsigned char *icrp;
|
volatile unsigned char *icrp;
|
||||||
volatile unsigned long *imrp;
|
volatile unsigned long *imrp;
|
||||||
|
|
Loading…
Reference in a new issue