[PATCH 4/8] fsl_soc: Factor fsl_get_sys_freq() out of the wdt init.

Stephen Rothwell sfr at canb.auug.org.au
Thu Dec 13 10:01:57 EST 2007


Hi Scott,

Just one little nit ...

On Wed, 12 Dec 2007 11:36:01 -0600 Scott Wood <scottwood at freescale.com> wrote:
>
> -	ret = platform_device_add_data(dev, freq, sizeof(int));
> +	ret = platform_device_add_data(dev, &freq, sizeof(int));
                                                          ^^^
Surely you want "u32" or "freg" here?

-- 
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/20071213/83cc8e77/attachment.pgp>


More information about the Linuxppc-dev mailing list