mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-18 18:22:27 +02:00
Fix the serial driver with the devfs removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6577 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
af5a1e3a29
commit
e89508739e
@ -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
Block a user