patch-2.4.25 linux-2.4.25/drivers/char/hvc_console.c

Next file: linux-2.4.25/drivers/char/ip27-rtc.c
Previous file: linux-2.4.25/drivers/char/genrtc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/char/hvc_console.c linux-2.4.25/drivers/char/hvc_console.c
@@ -252,7 +252,11 @@
 
 	hvc_driver.magic = TTY_DRIVER_MAGIC;
 	hvc_driver.driver_name = "hvc";
+#ifdef CONFIG_DEVFS_FS
 	hvc_driver.name = "hvc/%d";
+#else
+	hvc_driver.name = "hvc";
+#endif
 	hvc_driver.major = HVC_MAJOR;
 	hvc_driver.minor_start = HVC_MINOR;
 	hvc_driver.num = hvc_count(&hvc_offset);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)