diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-02-15 13:36:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-08 01:11:14 +0100 |
commit | 9a7a6eb6453a0b128ab312442cff0c15a5ab1e3b (patch) | |
tree | 185775e41fadc2ac48ac6e271d981694b0eb0034 /drivers/tty | |
parent | tty: amba-pl011: don't dereference NULL platform data (diff) | |
download | linux-9a7a6eb6453a0b128ab312442cff0c15a5ab1e3b.tar.xz linux-9a7a6eb6453a0b128ab312442cff0c15a5ab1e3b.zip |
serial: sh-sci: Remove redundant instances of EARLYCON_DECLARE()
As of commit 2eaa790989e03900 ("earlycon: Use common framework for
earlycon declarations") it is no longer needer to specify both
EARLYCON_DECLARE() and OF_EARLYCON_DECLARE().
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 4678d8f2dd7d..0130feb069ae 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -3071,15 +3071,10 @@ static int __init hscif_early_console_setup(struct earlycon_device *device, return early_console_setup(device, PORT_HSCIF); } -EARLYCON_DECLARE(sci, sci_early_console_setup); OF_EARLYCON_DECLARE(sci, "renesas,sci", sci_early_console_setup); -EARLYCON_DECLARE(scif, scif_early_console_setup); OF_EARLYCON_DECLARE(scif, "renesas,scif", scif_early_console_setup); -EARLYCON_DECLARE(scifa, scifa_early_console_setup); OF_EARLYCON_DECLARE(scifa, "renesas,scifa", scifa_early_console_setup); -EARLYCON_DECLARE(scifb, scifb_early_console_setup); OF_EARLYCON_DECLARE(scifb, "renesas,scifb", scifb_early_console_setup); -EARLYCON_DECLARE(hscif, hscif_early_console_setup); OF_EARLYCON_DECLARE(hscif, "renesas,hscif", hscif_early_console_setup); #endif /* CONFIG_SERIAL_SH_SCI_EARLYCON */ |