Fix the serial driver with the devfs removal

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6577 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2007-03-16 18:33:46 +00:00
parent 59e316c32c
commit 435be9b941
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; + return -ENOMEM;
+ +
+ serial_driver->owner = THIS_MODULE; + serial_driver->owner = THIS_MODULE;
+ serial_driver->devfs_name = "tts/"; +// serial_driver->devfs_name = "tts/";
+// serial_driver.magic = TTY_DRIVER_MAGIC; +// serial_driver.magic = TTY_DRIVER_MAGIC;
+ serial_driver->name = "ttyS"; + serial_driver->name = "ttyS";
+ serial_driver->major = TTY_MAJOR; + serial_driver->major = TTY_MAJOR;