Helge Deller 125c97d8a5 fix early_serial_setup() regression
Commit b430428a188e8a434325e251d0704af4b88b4711 ("8250: Don't clobber
spinlocks.") introduced a regression on the parisc architecture, which
broke the handover to the serial port at boottime.

early_serial_setup() was changed to only copy a subset of the uart_port
fields, and sadly the "type" and "line" fields were forgotten and thus
the serial port was not initialized and could not be used for a
handover.  This patch fixes this by copying the missing fields.

As this change to early_serial_setup() doesn't need an initialized
spinlock in the uart_port struct any longer, we can drop the spinlock
initialization in the superio driver.

Cc: David Daney <ddaney@caviumnetworks.com>
Cc: Tomaso Paoletti <tpaoletti@caviumnetworks.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Cc: linux-parisc@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-13 14:03:43 -08:00
..
2009-01-12 16:37:00 -08:00
2008-10-20 08:52:36 -07:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2009-01-13 14:03:43 -08:00
2008-02-03 14:47:38 +02:00
2008-04-30 08:29:47 -07:00
2008-10-16 16:52:06 +02:00
2006-12-08 08:28:57 -08:00
2008-10-20 08:50:24 -07:00
2008-10-20 08:52:36 -07:00
2007-07-18 08:38:22 -07:00