Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 349a2444 authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik
Browse files

[BLACKFIN] minor irq handler cleanups



- use standard irq_handler_t to define irq handler function arguments

Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 5dc0742b
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -39,8 +39,7 @@
/* This is an NTP setting */
/* This is an NTP setting */
#define	TICK_SIZE (tick_nsec / 1000)
#define	TICK_SIZE (tick_nsec / 1000)


static void time_sched_init(irqreturn_t(*timer_routine)
static void time_sched_init(irq_handler_t timer_routine);
			(int, void *));
static unsigned long gettimeoffset(void);
static unsigned long gettimeoffset(void);


static struct irqaction bfin_timer_irq = {
static struct irqaction bfin_timer_irq = {
@@ -64,7 +63,7 @@ static struct irqaction bfin_timer_irq = {
#define TIME_SCALE 1
#define TIME_SCALE 1


static void
static void
time_sched_init(irqreturn_t(*timer_routine) (int, void *))
time_sched_init(irq_handler_t timer_routine)
{
{
	u32 tcount;
	u32 tcount;