mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] proper prototypes for some console functions
@ 2006-08-21 10:44 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-08-21 10:44 UTC (permalink / raw)
  To: Antonino Daplas; +Cc: linux-kernel, linux-fbdev-devel

This patch adds proper prototypes to header files for three console init 
functions used on drivers/char/vt.c

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/char/vt.c          |    8 --------
 include/linux/console.h    |    3 +++
 include/linux/consolemap.h |    1 +
 3 files changed, 4 insertions(+), 8 deletions(-)

--- linux-2.6.18-rc4-mm1/include/linux/consolemap.h.old	2006-08-14 00:30:56.000000000 +0200
+++ linux-2.6.18-rc4-mm1/include/linux/consolemap.h	2006-08-14 00:31:10.000000000 +0200
@@ -13,3 +13,4 @@
 extern unsigned char inverse_translate(struct vc_data *conp, int glyph);
 extern unsigned short *set_translate(int m, struct vc_data *vc);
 extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
+void console_map_init(void);
--- linux-2.6.18-rc4-mm1/include/linux/console.h.old	2006-08-14 00:31:33.000000000 +0200
+++ linux-2.6.18-rc4-mm1/include/linux/console.h	2006-08-14 00:32:42.000000000 +0200
@@ -124,6 +124,9 @@
 extern void suspend_console(void);
 extern void resume_console(void);
 
+int mda_console_init(void);
+void prom_con_init(void);
+
 /* Some debug stub to catch some of the obvious races in the VT code */
 #if 1
 #define WARN_CONSOLE_UNLOCKED()	WARN_ON(!is_console_locked() && !oops_in_progress)
--- linux-2.6.18-rc4-mm1/drivers/char/vt.c.old	2006-08-14 00:29:47.000000000 +0200
+++ linux-2.6.18-rc4-mm1/drivers/char/vt.c	2006-08-14 00:30:01.000000000 +0200
@@ -139,14 +139,6 @@
 extern void vcs_make_sysfs(struct tty_struct *tty);
 extern void vcs_remove_sysfs(struct tty_struct *tty);
 
-extern void console_map_init(void);
-#ifdef CONFIG_PROM_CONSOLE
-extern void prom_con_init(void);
-#endif
-#ifdef CONFIG_MDA_CONSOLE
-extern int mda_console_init(void);
-#endif
-
 struct vc vc_cons [MAX_NR_CONSOLES];
 
 #ifndef VT_SINGLE_DRIVER


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-21 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-21 10:44 [2.6 patch] proper prototypes for some console functions Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®