From 56ee50e8035ea34d8ca78a63e3855ff07dfcc09b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 18 Oct 2007 13:51:15 +0100 Subject: [PATCH] --- yaml --- r: 71309 b: refs/heads/master c: 89742e5376adee9f26756f5d2573ae2b18fb2a96 h: refs/heads/master i: 71307: 86bbafaf715f7b9b5d286dd8c234e14ae77e7965 v: v3 --- [refs] | 2 +- trunk/arch/mips/jazz/irq.c | 6 ++++-- trunk/arch/mips/jazz/setup.c | 8 +------- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index b2d858ba8dae..3ac45027d855 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e887b24592c5ddf46d37e592b2ee6bd2188257e1 +refs/heads/master: 89742e5376adee9f26756f5d2573ae2b18fb2a96 diff --git a/trunk/arch/mips/jazz/irq.c b/trunk/arch/mips/jazz/irq.c index 835b056cea36..ae25b480723e 100644 --- a/trunk/arch/mips/jazz/irq.c +++ b/trunk/arch/mips/jazz/irq.c @@ -4,7 +4,7 @@ * for more details. * * Copyright (C) 1992 Linus Torvalds - * Copyright (C) 1994 - 2001, 2003 Ralf Baechle + * Copyright (C) 1994 - 2001, 2003, 07 Ralf Baechle */ #include #include @@ -13,6 +13,7 @@ #include #include +#include #include #include #include @@ -136,7 +137,7 @@ static struct irqaction r4030_timer_irqaction = { .name = "timer", }; -void __init plat_timer_setup(struct irqaction *ignored) +void __init plat_time_init(void) { struct irqaction *irq = &r4030_timer_irqaction; @@ -152,4 +153,5 @@ void __init plat_timer_setup(struct irqaction *ignored) setup_irq(JAZZ_TIMER_IRQ, irq); clockevents_register_device(&r4030_clockevent); + setup_pit_timer(); } diff --git a/trunk/arch/mips/jazz/setup.c b/trunk/arch/mips/jazz/setup.c index cfc7dce78dab..a7857973ca03 100644 --- a/trunk/arch/mips/jazz/setup.c +++ b/trunk/arch/mips/jazz/setup.c @@ -5,7 +5,7 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. * - * Copyright (C) 1996, 1997, 1998, 2001 by Ralf Baechle + * Copyright (C) 1996, 1997, 1998, 2001, 07 by Ralf Baechle * Copyright (C) 2001 MIPS Technologies, Inc. * Copyright (C) 2007 by Thomas Bogendoerfer */ @@ -25,7 +25,6 @@ #include #include -#include #include #include #include @@ -64,11 +63,6 @@ static struct resource jazz_io_resources[] = { } }; -void __init plat_time_init(void) -{ - setup_pit_timer(); -} - void __init plat_mem_setup(void) { int i;