Fix the serial driver with the devfs removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6577 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
59e316c32c
commit
435be9b941
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue