diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-10 04:45:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 13:51:27 -0500 |
commit | 1b135431abf5ea92e61bf4e91d93726c7b96da5f (patch) | |
tree | 4dd9aa7264a69593ae51962aae099af7cd923998 | |
parent | 57a87bb0720a5cf7a9ece49a8c8ed288398fd1bb (diff) |
[PATCH] drivers/char/vc_screen.c: proper prototypes
Add proper prototypes for two functions in drivers/char/vc_screen.c
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/char/vt.c | 3 | ||||
-rw-r--r-- | include/linux/console.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/char/vt.c b/drivers/char/vt.c index 06c32a3e3ca4..13299b8fdbd6 100644 --- a/drivers/char/vt.c +++ b/drivers/char/vt.c | |||
@@ -136,9 +136,6 @@ const struct consw *conswitchp; | |||
136 | #define DEFAULT_BELL_PITCH 750 | 136 | #define DEFAULT_BELL_PITCH 750 |
137 | #define DEFAULT_BELL_DURATION (HZ/8) | 137 | #define DEFAULT_BELL_DURATION (HZ/8) |
138 | 138 | ||
139 | extern void vcs_make_sysfs(struct tty_struct *tty); | ||
140 | extern void vcs_remove_sysfs(struct tty_struct *tty); | ||
141 | |||
142 | struct vc vc_cons [MAX_NR_CONSOLES]; | 139 | struct vc vc_cons [MAX_NR_CONSOLES]; |
143 | 140 | ||
144 | #ifndef VT_SINGLE_DRIVER | 141 | #ifndef VT_SINGLE_DRIVER |
diff --git a/include/linux/console.h b/include/linux/console.h index 7d0420274de0..de25ee3b7919 100644 --- a/include/linux/console.h +++ b/include/linux/console.h | |||
@@ -21,6 +21,7 @@ struct vc_data; | |||
21 | struct console_font_op; | 21 | struct console_font_op; |
22 | struct console_font; | 22 | struct console_font; |
23 | struct module; | 23 | struct module; |
24 | struct tty_struct; | ||
24 | 25 | ||
25 | /* | 26 | /* |
26 | * this is what the terminal answers to a ESC-Z or csi0c query. | 27 | * this is what the terminal answers to a ESC-Z or csi0c query. |
@@ -132,6 +133,9 @@ static inline void resume_console(void) {} | |||
132 | int mda_console_init(void); | 133 | int mda_console_init(void); |
133 | void prom_con_init(void); | 134 | void prom_con_init(void); |
134 | 135 | ||
136 | void vcs_make_sysfs(struct tty_struct *tty); | ||
137 | void vcs_remove_sysfs(struct tty_struct *tty); | ||
138 | |||
135 | /* Some debug stub to catch some of the obvious races in the VT code */ | 139 | /* Some debug stub to catch some of the obvious races in the VT code */ |
136 | #if 1 | 140 | #if 1 |
137 | #define WARN_CONSOLE_UNLOCKED() WARN_ON(!is_console_locked() && !oops_in_progress) | 141 | #define WARN_CONSOLE_UNLOCKED() WARN_ON(!is_console_locked() && !oops_in_progress) |