summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-31 05:11:45 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-20 18:45:27 -0400
commit349a2444cfcd6c078a8410c19cd7a950ff89bd96 (patch)
tree5738b6702b719ab36b4c99b986b05dd689c1c4e9 /arch
parent5dc0742b41066e1e141f2b4b00557e563a83fccc (diff)
downloadtalos-op-linux-349a2444cfcd6c078a8410c19cd7a950ff89bd96.tar.gz
talos-op-linux-349a2444cfcd6c078a8410c19cd7a950ff89bd96.zip
[BLACKFIN] minor irq handler cleanups
- use standard irq_handler_t to define irq handler function arguments Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/kernel/time.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c
index 9bdc8f99183a..715b3945e4c7 100644
--- a/arch/blackfin/kernel/time.c
+++ b/arch/blackfin/kernel/time.c
@@ -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 = {
@@ -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;
OpenPOWER on IntegriCloud