Skip to content

Commit

Permalink
[PATCH] m68knommu: use irq_handler_t for passing handler types in 683…
Browse files Browse the repository at this point in the history
…60 setup

Use irq_handler_t type for passing around timer interrupt routine.

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 Mar 7, 2007
1 parent 1ba73b9 commit b032fde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/m68knommu/platform/68360/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <linux/mm.h>
#include <linux/tty.h>
#include <linux/console.h>
#include <linux/interrupt.h>

#include <asm/setup.h>
#include <asm/system.h>
Expand Down Expand Up @@ -50,7 +51,7 @@ extern unsigned long int system_clock; //In kernel setup.c

extern void config_M68360_irq(void);

void BSP_sched_init(void (*timer_routine)(int, void *, struct pt_regs *))
void BSP_sched_init(irq_handler_t timer_routine)
{
unsigned char prescaler;
unsigned short tgcr_save;
Expand Down

0 comments on commit b032fde

Please sign in to comment.