Re: [PATCH] powerpc: legacy_serial loop cleanup
From: Stephen Rothwell <hidden>
Date: 2006-03-25 07:05:51
Attachments
- (unnamed) [application/pgp-signature] 191 bytes
From: Stephen Rothwell <hidden>
Date: 2006-03-25 07:05:51
On Sat, 25 Mar 2006 15:45:11 +1100 Michael Neuling [off-list ref] 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@canb.auug.org.au http://www.canb.auug.org.au/~sfr/