diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2012-12-23 15:10:04 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-21 13:52:42 -0500 |
commit | 3249ca22c088c286d6227d8fae9c85a43a8ce9f6 (patch) | |
tree | d6e0cdc2abb6d862af760af9ec7c80691182ec7a /drivers/usb/gadget/multi.c | |
parent | 48177cd83792d25a5bab7f887acc47c2c314810e (diff) |
usb: gadget: u_serial: convert into a module
Every user of u_serial has now to select the U_SERIAL symbol instead of
including the file.
There is one limition with this: ports and and gs_tty_driver are global
variables in u_serial. Since all users share them, there can be only one
user loaded at a time i.e. either g_serial or g_nokia.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/multi.c')
-rw-r--r-- | drivers/usb/gadget/multi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/multi.c b/drivers/usb/gadget/multi.c index 88472bf7dbb7..00667911100d 100644 --- a/drivers/usb/gadget/multi.c +++ b/drivers/usb/gadget/multi.c | |||
@@ -42,7 +42,6 @@ MODULE_LICENSE("GPL"); | |||
42 | */ | 42 | */ |
43 | #include "f_mass_storage.c" | 43 | #include "f_mass_storage.c" |
44 | 44 | ||
45 | #include "u_serial.c" | ||
46 | #include "f_acm.c" | 45 | #include "f_acm.c" |
47 | 46 | ||
48 | #include "f_ecm.c" | 47 | #include "f_ecm.c" |