OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e853bf4
)
[PATCH] USB: remove __init from usb_console_setup
author
Paul Fulghum
<paulkf@microgate.com>
Wed, 12 Apr 2006 21:41:59 +0000
(23:41 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 14 Apr 2006 18:12:27 +0000
(11:12 -0700)
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
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/console.c
b/drivers/usb/serial/console.c
index
167f8ec
..
8023bb7
100644
(file)
--- a/
drivers/usb/serial/console.c
+++ b/
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;