[SERIAL] Fix serial8250 driver initialisation ordering
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 18 Jan 2006 09:54:29 +0000 (09:54 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 18 Jan 2006 09:54:29 +0000 (09:54 +0000)
commitbc965a7f43d3fc37584f9c16c6d7a84a911a9d9c
tree9d7ac6b356c9a884941b374555cebb5d3f465d61
parent7eb9b2f56c9812d03ac63031869bcc42151067b1
[SERIAL] Fix serial8250 driver initialisation ordering

Commit 7493a314cb83797ce612a577475aacaedc553fed changed the ordering
of the registration of the platform device driver vs the 8250 drivers
internal initialisation.  This led to the probe function being called
before the driver had finished its internal initialisation, causing
mayhem.  Revert the ordering change.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/8250.c