serial: earlycon: Move ->uartclk initialize
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 9 Mar 2015 20:27:15 +0000 (16:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 15:17:55 +0000 (16:17 +0100)
commitfeed5bab0d33feb5dbe5365b34d044c79f93dc6b
treec5dfaa9c3b06c2fa010df1d0d8c8af14164dc732
parentd0d654ce53ab34f9306630ebcbfc477a994ea662
serial: earlycon: Move ->uartclk initialize

Initializing the ->uartclk field is not related to option parsing;
relocate from parse_options() to setup_earlycon() (which mirrors the
behavior of of_setup_earlycon()).

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/earlycon.c