Hi
I splitted this one out as it is small, simple, and pretty much obviously
correct. To remind - it prevents an Oops if booted with "console=ttyUSB0"
but without a USB-serial dongle, and plugged one in afterwards. Originally
from Paul. (Paul, would you like to sign-off for it?)
It might even be worth putting it into stable?
Thanks
Guennadi
---
Guennadi Liakhovetski
Tested-by G. Liakhovetski <[EMAIL PROTECTED]>
diff -u a/drivers/usb/serial/console.c b/drivers/usb/serial/console.c
--- a/drivers/usb/serial/console.c 13 Jan 2005 21:09:08 -0000
+++ b/drivers/usb/serial/console.c 11 Apr 2006 18:03:29 -0000
@@ -54,7 +54,7 @@
* serial.c code, except that the specifier is "ttyUSB" instead
* of "ttyS".
*/
-static int __init usb_console_setup(struct console *co, char *options)
+static int usb_console_setup(struct console *co, char *options)
{
struct usbcons_info *info = &usbcons_info;
int baud = 9600;
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel