[PATCH 3/4] [POWERPC] Add restart support for mpc52xx based platforms

Stephen Rothwell sfr at canb.auug.org.au
Thu Oct 18 00:02:22 EST 2007


On Wed, 17 Oct 2007 15:01:28 +0200 Marian Balakowicz <m8 at semihalf.com> wrote:
>
> +void __init
> +mpc52xx_map_wdt(void)
> +{
> +        const void *has_wdt;
   ^^^^^^^^
white space damage

> +	struct device_node *np;
> +
> +	/* mpc52xx_wdt is mapped here and used in mpc52xx_restart,
> +	 * possibly from a interrupt context. */
> +
> +	for (np = NULL;
> +	    (np = of_find_compatible_node(np, NULL, "fsl,mpc5200-gpt")) != NULL;
> +	    ) {

	for_each_compatible_node(np, NULL, "fsl,mpc5200-gpt") {

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20071018/3b3d5ad7/attachment.pgp>


More information about the Linuxppc-dev mailing list