Messages in this thread | | | Date | Wed, 3 Feb 2010 21:38:36 +0530 | From | Rabin Vincent <> | Subject | Re: [PATCHv2 05/11] mxc: Core support for i.MX5 series of processors from Freescale |
| |
On Tue, Feb 02, 2010 at 09:16:27PM -0800, Amit Kucheria wrote: > diff --git a/arch/arm/mach-mx5/clock.c b/arch/arm/mach-mx5/clock.c [...] > +static struct clk_lookup lookups[] __initdata = { > + _REGISTER_CLOCK("imx-uart.0", NULL, uart1_clk) > + _REGISTER_CLOCK("imx-uart.1", NULL, uart2_clk) > + _REGISTER_CLOCK("imx-uart.2", NULL, uart3_clk) > + _REGISTER_CLOCK(NULL, "gpt", gpt_clk) > + _REGISTER_CLOCK("fec.0", NULL, fec_clk) > +};
This shouldn't be __initdata. clk_get() uses this, and modules may use clk_get().
Rabin
| |