[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E53D84F.5060604@broadcom.com>
Date: Tue, 23 Aug 2011 09:41:51 -0700
From: "Jiandong Zheng" <jdzheng@...adcom.com>
To: "Maxin B. John" <maxin.john@...il.com>
cc: "Scott Branden" <sbranden@...adcom.com>,
"Russell King" <linux@....linux.org.uk>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] arm: mach-bcmring: fix build error in core.c
On 8/23/2011 4:18 AM, Maxin B. John wrote:
> CC arch/arm/mach-bcmring/core.o
> arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer':
> arch/arm/mach-bcmring/core.c:238: error: implicit declaration of
> function 'sp804_clockevents_register'
> make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1
> make: *** [arch/arm/mach-bcmring] Error 2
>
> Please let me know your comments on this fix:
>
> Signed-off-by: Maxin B. John<maxin.john@...il.com>
> ---
> diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c
> index 43eadbc..430da12 100644
> --- a/arch/arm/mach-bcmring/core.c
> +++ b/arch/arm/mach-bcmring/core.c
> @@ -235,7 +235,7 @@ void __init bcmring_init_timer(void)
> */
> bcmring_clocksource_init();
>
> - sp804_clockevents_register(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
> + sp804_clockevents_init(TIMER0_VA_BASE, IRQ_TIMER0, "timer0");
> }
>
> struct sys_timer bcmring_timer = {
>
Signed-off-by: Jiandong Zheng <jdzheng@...adcom.com>
The same changes was in my comments on May 17 to Russell's serial
patches to convert to sp804 clk dev, but seems it got lost.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists