Skip to content

Commit

Permalink
[BLACKFIN] minor irq handler cleanups
Browse files Browse the repository at this point in the history
- use standard irq_handler_t to define irq handler function arguments

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Jeff Garzik authored and Jeff Garzik committed Apr 20, 2008
1 parent 5dc0742 commit 349a244
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/blackfin/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
/* This is an NTP setting */
#define TICK_SIZE (tick_nsec / 1000)

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

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

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

Expand Down

0 comments on commit 349a244

Please sign in to comment.