Fix the serial driver with the devfs removal

SVN-Revision: 6577
v19.07.3_mercusys_ac12_duma
Florian Fainelli 18 years ago
parent a738f566e6
commit 11109c2515

@ -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;

Loading…
Cancel
Save