earlycon: drop semicolon from earlycon macro
authorJohan Hovold <johan@kernel.org>
Mon, 7 Dec 2020 09:16:01 +0000 (10:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Dec 2020 09:40:32 +0000 (10:40 +0100)
Drop the trailing semicolon from the OF_EARLYCON_DECLARE() macro
definition which was left when removing the array-of-pointer
indirection.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20201207091601.5202-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/serial_core.h

index 3e32b788c28df3b13ebaa7a9d7bdd7bf87eccb53..e1b684e3384178f963dbd04f5a34d5a393d52d18 100644 (file)
@@ -372,7 +372,7 @@ extern const struct earlycon_id __earlycon_table_end[];
                __aligned(__alignof__(struct earlycon_id))              \
                = { .name = __stringify(_name),                         \
                    .compatible = compat,                               \
-                   .setup = fn };
+                   .setup = fn }
 
 #define EARLYCON_DECLARE(_name, fn)    OF_EARLYCON_DECLARE(_name, "", fn)