diff options
author | Michal Nazarewicz <m.nazarewicz@samsung.com> | 2010-08-12 11:43:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 13:21:24 -0400 |
commit | e12995ec8f8d99f2a339541fc28998af2d60af0f (patch) | |
tree | 3fea8a62234b906b115f0f0b85f481dc69f1108c /drivers/usb/gadget/mass_storage.c | |
parent | a99d8a45bc2f495be45b8d417b795d7282a69091 (diff) |
USB: Revert "USB: gadget: section mismatch warning fixed"
This reverts a commit which proposed an invalid solution
for a section mismatch. Next 3 commits will fix it correctly.
Conflicts:
drivers/usb/gadget/mass_storage.c
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/mass_storage.c')
-rw-r--r-- | drivers/usb/gadget/mass_storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/mass_storage.c b/drivers/usb/gadget/mass_storage.c index 493d15339843..05e9bd330348 100644 --- a/drivers/usb/gadget/mass_storage.c +++ b/drivers/usb/gadget/mass_storage.c | |||
@@ -111,7 +111,7 @@ static int msg_thread_exits(struct fsg_common *common) | |||
111 | return 0; | 111 | return 0; |
112 | } | 112 | } |
113 | 113 | ||
114 | static int __ref msg_do_config(struct usb_configuration *c) | 114 | static int __init msg_do_config(struct usb_configuration *c) |
115 | { | 115 | { |
116 | static const struct fsg_operations ops = { | 116 | static const struct fsg_operations ops = { |
117 | .thread_exits = msg_thread_exits, | 117 | .thread_exits = msg_thread_exits, |
@@ -149,7 +149,7 @@ static struct usb_configuration msg_config_driver = { | |||
149 | 149 | ||
150 | /****************************** Gadget Bind ******************************/ | 150 | /****************************** Gadget Bind ******************************/ |
151 | 151 | ||
152 | static int __ref msg_bind(struct usb_composite_dev *cdev) | 152 | static int __init msg_bind(struct usb_composite_dev *cdev) |
153 | { | 153 | { |
154 | int status; | 154 | int status; |
155 | 155 | ||