[PATCH v2 2/8] clk: imx25: retain early UART clocks during kernel init
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Mon Sep 7 02:10:05 PDT 2015
On Sun, Sep 06, 2015 at 10:23:15PM +0800, Shawn Guo wrote:
>
> I prefer to code it like:
>
> static struct clk **uart_clks[] __initdata = {
> &clk[uart_ipg_per],
> &clk[uart1_ipg],
> &clk[uart2_ipg],
> &clk[uart3_ipg],
> &clk[uart4_ipg],
> &clk[uart5_ipg],
> NULL
> };
And maybe also use mx25_ as prefix to make the name unique.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list