Messages in this thread Patch in this message | | | Date | Thu, 13 Apr 2006 16:09:31 -0700 | From | Greg KH <> | Subject | [patch 20/22] USB: remove __init from usb_console_setup |
| |
-stable review patch. If anyone has any objections, please let us know.
------------------ From: Paul Fulghum <paulkf@microgate.com>
This prevents an Oops if booted with "console=ttyUSB0" but without a USB-serial dongle, and plugged one in afterwards.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
--- drivers/usb/serial/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.16.5.orig/drivers/usb/serial/console.c +++ linux-2.6.16.5/drivers/usb/serial/console.c @@ -54,7 +54,7 @@ static struct console usbcons; * 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; -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |