Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] m68knommu: use irq_handler_t for passing handler types in 68328 setup

Use irq_handler_t type for passing around timer interrupt routine
in 368360 setup code.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Greg Ungerer and committed by
Linus Torvalds
1ea9acc7 b032fde9

+6 -3
+2 -1
arch/m68knommu/platform/68328/timers.c
··· 17 17 #include <linux/types.h> 18 18 #include <linux/kernel.h> 19 19 #include <linux/mm.h> 20 + #include <linux/interrupt.h> 20 21 #include <asm/setup.h> 21 22 #include <asm/system.h> 22 23 #include <asm/pgtable.h> ··· 53 52 54 53 /***************************************************************************/ 55 54 56 - void m68328_timer_init(irqreturn_t (*timer_routine) (int, void *, struct pt_regs *)) 55 + void m68328_timer_init(irq_handler_t timer_routine) 57 56 { 58 57 /* disable timer 1 */ 59 58 TCTL = 0;
+2 -1
arch/m68knommu/platform/68EZ328/config.c
··· 19 19 #include <linux/mm.h> 20 20 #include <linux/tty.h> 21 21 #include <linux/console.h> 22 + #include <linux/interrupt.h> 22 23 23 24 #include <asm/setup.h> 24 25 #include <asm/system.h> ··· 32 31 33 32 /***************************************************************************/ 34 33 35 - void m68328_timer_init(irqreturn_t (*timer_routine) (int, void *, struct pt_regs *)); 34 + void m68328_timer_init(irq_handler_t timer_routine); 36 35 void m68328_timer_tick(void); 37 36 unsigned long m68328_timer_gettimeoffset(void); 38 37 void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec);
+2 -1
arch/m68knommu/platform/68VZ328/config.c
··· 21 21 #include <linux/console.h> 22 22 #include <linux/kd.h> 23 23 #include <linux/netdevice.h> 24 + #include <linux/interrupt.h> 24 25 25 26 #include <asm/setup.h> 26 27 #include <asm/system.h> ··· 37 36 38 37 /***************************************************************************/ 39 38 40 - void m68328_timer_init(irqreturn_t (*timer_routine) (int, void *, struct pt_regs *)); 39 + void m68328_timer_init(irq_handler_t timer_routine); 41 40 void m68328_timer_tick(void); 42 41 unsigned long m68328_timer_gettimeoffset(void); 43 42 void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int *sec);