Skip to content

Commit 6f2fdb2

Browse files
sergey-senozhatskypmladek
authored andcommitted
hvc: unify console setup naming
Use the 'common' foo_console_setup() naming scheme. There are 71 foo_console_setup() callbacks and only one foo_setup_console(). Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20200619172240.754910-1-sergey.senozhatsky@gmail.com
1 parent 5046037 commit 6f2fdb2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/tty/hvc/hvc_xen.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ static void xen_hvm_early_write(uint32_t vtermno, const char *str, int len) { }
603603
#endif
604604

605605
#ifdef CONFIG_EARLY_PRINTK
606-
static int __init xenboot_setup_console(struct console *console, char *string)
606+
static int __init xenboot_console_setup(struct console *console, char *string)
607607
{
608608
static struct xencons_info xenboot;
609609

@@ -647,7 +647,7 @@ static void xenboot_write_console(struct console *console, const char *string,
647647
struct console xenboot_console = {
648648
.name = "xenboot",
649649
.write = xenboot_write_console,
650-
.setup = xenboot_setup_console,
650+
.setup = xenboot_console_setup,
651651
.flags = CON_PRINTBUFFER | CON_BOOT | CON_ANYTIME,
652652
.index = -1,
653653
};

0 commit comments

Comments
 (0)