|
From: <jsi...@us...> - 2007-05-11 13:14:42
|
Revision: 2379
http://linuxconsole.svn.sourceforge.net/linuxconsole/?rev=2379&view=rev
Author: jsimmons
Date: 2007-05-11 06:14:40 -0700 (Fri, 11 May 2007)
Log Message:
-----------
Move from proc to sysfs only
Modified Paths:
--------------
branches/ruby-2.6.21/ruby-2.6/drivers/char/Makefile
branches/ruby-2.6.21/ruby-2.6/drivers/char/vt.c
Modified: branches/ruby-2.6.21/ruby-2.6/drivers/char/Makefile
===================================================================
--- branches/ruby-2.6.21/ruby-2.6/drivers/char/Makefile 2007-05-11 13:14:20 UTC (rev 2378)
+++ branches/ruby-2.6.21/ruby-2.6/drivers/char/Makefile 2007-05-11 13:14:40 UTC (rev 2379)
@@ -13,7 +13,7 @@
obj-$(CONFIG_UNIX98_PTYS) += pty.o
obj-y += misc.o
obj-$(CONFIG_VT) += vt_ioctl.o decvte.o vc_screen.o consolemap.o \
- consolemap_deftbl.o selection.o keyboard.o vt_proc.o vt_sysfs.o
+ consolemap_deftbl.o selection.o keyboard.o vt_sysfs.o
obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
obj-$(CONFIG_ESPSERIAL) += esp.o
Modified: branches/ruby-2.6.21/ruby-2.6/drivers/char/vt.c
===================================================================
--- branches/ruby-2.6.21/ruby-2.6/drivers/char/vt.c 2007-05-11 13:14:20 UTC (rev 2378)
+++ branches/ruby-2.6.21/ruby-2.6/drivers/char/vt.c 2007-05-11 13:14:40 UTC (rev 2379)
@@ -129,9 +129,6 @@
#if defined (CONFIG_PROM_CONSOLE)
extern void prom_con_init(void);
#endif
-#ifdef CONFIG_PROC_FS
-extern int vt_proc_init(void);
-#endif
struct tty_driver *console_driver; /* TTY driver for all VT consoles */
static unsigned int current_vc; /* Which /dev/vc/X to allocate next */
@@ -1851,9 +1848,6 @@
current_vt += 1;
if (vt->kmalloced) {
vt_init_device(vt);
-#ifdef CONFIG_PROC_FS
- vt_proc_attach(vt);
-#endif
}
return display_desc;
}
@@ -1924,9 +1918,6 @@
panic("Couldn't register console driver\n");
vt_sysfs_init();
-#ifdef CONFIG_PROC_FS
- vt_proc_init();
-#endif
#if defined (CONFIG_PROM_CONSOLE)
prom_con_init();
#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|