[PATCH] fsl_spi_init: Support non-QE processors
Stephen Rothwell
sfr at canb.auug.org.au
Thu Oct 4 14:01:26 EST 2007
On Wed, 03 Oct 2007 17:43:50 +0200 Peter Korsgaard <jacmet at sunsite.dk> wrote:
>
> @@ -1220,14 +1220,17 @@ int __init fsl_spi_init(struct spi_board_info *board_infos,
> {
> struct device_node *np;
> unsigned int i;
> - const u32 *sysclk;
> + const u32 *qe_sysclk = 0, *soc_sysclk = 0;
Please use NULL when referring to pointers.
--
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/20071004/2e53fc77/attachment.pgp>
More information about the Linuxppc-dev
mailing list