1
0
Fork 0

[PATCH] USB: remove __init from usb_console_setup

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>
wifi-calibration
Paul Fulghum 2006-04-12 23:41:59 +02:00 committed by Greg Kroah-Hartman
parent e853bf4af3
commit 69a4bf7c95
1 changed files with 1 additions and 1 deletions

View File

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