projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5046037
)
hvc: unify console setup naming
author
Sergey Senozhatsky
<sergey.senozhatsky@gmail.com>
Fri, 19 Jun 2020 17:22:40 +0000
(
02:22
+0900)
committer
Petr Mladek
<pmladek@suse.com>
Thu, 25 Jun 2020 12:27:00 +0000
(14:27 +0200)
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
drivers/tty/hvc/hvc_xen.c
patch
|
blob
|
history
diff --git
a/drivers/tty/hvc/hvc_xen.c
b/drivers/tty/hvc/hvc_xen.c
index 5ef08905fe05c72167180dfd1cd388e8ccd1f33e..2a0e51a20e342911748ba524d19c03fc99af59fd 100644
(file)
--- a/
drivers/tty/hvc/hvc_xen.c
+++ b/
drivers/tty/hvc/hvc_xen.c
@@
-603,7
+603,7
@@
static void xen_hvm_early_write(uint32_t vtermno, const char *str, int len) { }
#endif
#ifdef CONFIG_EARLY_PRINTK
-static int __init xenboot_
setup_console
(struct console *console, char *string)
+static int __init xenboot_
console_setup
(struct console *console, char *string)
{
static struct xencons_info xenboot;
@@
-647,7
+647,7
@@
static void xenboot_write_console(struct console *console, const char *string,
struct console xenboot_console = {
.name = "xenboot",
.write = xenboot_write_console,
- .setup = xenboot_
setup_console
,
+ .setup = xenboot_
console_setup
,
.flags = CON_PRINTBUFFER | CON_BOOT | CON_ANYTIME,
.index = -1,
};