diff options
Diffstat (limited to 'include/linux/console.h')
-rw-r--r-- | include/linux/console.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/console.h b/include/linux/console.h index de25ee3b7919..fcc18e012e45 100644 --- a/include/linux/console.h +++ b/include/linux/console.h | |||
@@ -92,9 +92,8 @@ void give_up_console(const struct consw *sw); | |||
92 | #define CON_BOOT (8) | 92 | #define CON_BOOT (8) |
93 | #define CON_ANYTIME (16) /* Safe to call when cpu is offline */ | 93 | #define CON_ANYTIME (16) /* Safe to call when cpu is offline */ |
94 | 94 | ||
95 | struct console | 95 | struct console { |
96 | { | 96 | char name[16]; |
97 | char name[8]; | ||
98 | void (*write)(struct console *, const char *, unsigned); | 97 | void (*write)(struct console *, const char *, unsigned); |
99 | int (*read)(struct console *, char *, unsigned); | 98 | int (*read)(struct console *, char *, unsigned); |
100 | struct tty_driver *(*device)(struct console *, int *); | 99 | struct tty_driver *(*device)(struct console *, int *); |