[PATCH 3/8][Version 2] MPC5121 Add generic board support
Grant Likely
grant.likely at secretlab.ca
Sun Jun 29 18:01:29 EST 2008
On Tue, Jun 24, 2008 at 3:24 PM, John Rigby <jrigby at freescale.com> wrote:
> Move shared code from mpc5121_ads.c to mpc512x_shared.c.
> Add new generic board setup mpc5121_generic.c
>
> Signed-off-by: John Rigby <jrigby at freescale.com>
> ---
> +void __init mpc512x_init_IRQ(void)
> +{
> + struct device_node *np;
> +
> + np = of_find_compatible_node(NULL, NULL, "fsl,ipic");
Along with all my other device-tree conventions comments; you should
really be testing for fsl,mpc5121-ipic here. fsl,ipic is not a good
value for compatible.
g.
More information about the Linuxppc-dev
mailing list