From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Wed, 18 May 2011 00:20:15 +0100 Subject: [PATCH] ARM: bcmring: fix patches to convert to sp804 clockevents In-Reply-To: <4DD2FF02.1020508@broadcom.com> References: <20110516172334.GD13659@n2100.arm.linux.org.uk> <4DD2FF02.1020508@broadcom.com> Message-ID: <20110517232015.GC5913@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, May 17, 2011 at 04:04:34PM -0700, Jiandong Zheng wrote: > @@ -232,12 +230,14 @@ void __init bcmring_init_timer(void) > writel(0, TIMER2_VA_BASE + TIMER_CTRL); > writel(0, TIMER3_VA_BASE + TIMER_CTRL); > > + clkdev_add_table(lookups, ARRAY_SIZE(lookups)); > + As we have the init_early callback in the machine record, can this be done at that point, rather than sticking it in the timer init callback?