Hi Grant,

On Wed, 09 Jan 2008 22:26:30 -0700 Grant Likely <[EMAIL PROTECTED]> wrote:
>
> +mpc52xx_map_common_devices(void)
>  {

> +     /* Clock Distribution Module, used by PSC clock setting function */
> +     np = of_find_matching_node(NULL, mpc52xx_cdm_ids);

What happens if we find no node?

> +     mpc52xx_cdm = of_iomap(np, 0);
> +     of_node_put(np);
>  }

-- 
Cheers,
Stephen Rothwell                    [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/

Attachment: pgpeZoPnntxuz.pgp
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to