Fix the serial driver with the devfs removal

SVN-Revision: 6577
lede-17.01
Florian Fainelli 2007-03-16 18:33:46 +00:00
parent a738f566e6
commit 11109c2515
1 changed files with 1 additions and 1 deletions

View File

@ -9427,7 +9427,7 @@ diff -urN linux-2.6.19/drivers/serial/bcm63xx_cons.c linux-2.6.19.new/drivers/se
+ return -ENOMEM;
+
+ serial_driver->owner = THIS_MODULE;
+ serial_driver->devfs_name = "tts/";
+// serial_driver->devfs_name = "tts/";
+// serial_driver.magic = TTY_DRIVER_MAGIC;
+ serial_driver->name = "ttyS";
+ serial_driver->major = TTY_MAJOR;