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 and rtc_time in prototypes

Use irq_handler_t for passing clock handler routine around.
And use new rtc_time in place of hwclock_time.

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
1ed35e0d 8bb25184

+2 -2
+2 -2
arch/m68knommu/kernel/setup.c
··· 51 51 { 52 52 } 53 53 54 - void (*mach_sched_init) (irqreturn_t (*handler)(int, void *, struct pt_regs *)); 54 + void (*mach_sched_init) (irq_handler_t handler); 55 55 void (*mach_tick)( void ); 56 56 /* machine dependent keyboard functions */ 57 57 int (*mach_keyb_init) (void); ··· 66 66 /* machine dependent timer functions */ 67 67 unsigned long (*mach_gettimeoffset) (void); 68 68 void (*mach_gettod) (int*, int*, int*, int*, int*, int*); 69 - int (*mach_hwclk) (int, struct hwclk_time*); 69 + int (*mach_hwclk) (int, struct rtc_time*); 70 70 int (*mach_set_clock_mmss) (unsigned long); 71 71 void (*mach_mksound)( unsigned int count, unsigned int ticks ); 72 72 void (*mach_reset)( void );