]> git.baikalelectronics.ru Git - kernel.git/commit
serial: earlycon: Refactor earlycon registration
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 9 Mar 2015 20:27:20 +0000 (16:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 16:25:27 +0000 (17:25 +0100)
commit76dcce784ca97b2c9a62897ac21007c6cfd2b5d1
treee8eb44635ad1801c50d4e1c3fd277c083244109d
parentc7df17f10a5d450fb5de9449d33546bc9a911275
serial: earlycon: Refactor earlycon registration

Separate earlycon matching from registration; add register_earlycon
which initializes and registers the matched 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