[PATCH] powerpc: legacy_serial loop cleanup

Stephen Rothwell sfr at canb.auug.org.au
Sat Mar 25 18:05:35 EST 2006


On Sat, 25 Mar 2006 15:45:11 +1100 Michael Neuling <mikey at neuling.org> wrote:
>
> Agreed.  Updated patch below.
>	.
>	.
> +static void __init setup_legacy_serial_console(int console)
> +{
> +	struct legacy_serial_info *info =
> +		&legacy_serial_infos[legacy_serial_console];

Except that you don't want to do that ^  (assuming you meant "console")

> +	void __iomem *addr;
> +
> +	if (console < 0)
> +		return;

before this ^ ...   :-)

-- 
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: 191 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060325/d839477c/attachment.pgp>


More information about the Linuxppc-dev mailing list