diff options
author | Michal Nazarewicz <m.nazarewicz@samsung.com> | 2010-05-05 06:53:13 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:43 -0400 |
commit | 28824b18ac4705e876a282a15ea0de8fc957551f (patch) | |
tree | 706bf405e7019792d43d9580e2eb191dcdd4e8be /drivers/usb/gadget/config.c | |
parent | 8120a8aadb2059e29982561658bc6675126f8105 (diff) |
USB: gadget: __init and __exit tags removed
__init, __initdata and __exit tags have have been removed from
various files to make it possible for gadgets that do not use
the __init/__exit tags to use those.
Files in question are related to:
* the core composite framework,
* the mass storage function (fixing a section mismatch) and
* ethernet driver (ACM, ECM, RNDIS).
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/config.c')
-rw-r--r-- | drivers/usb/gadget/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index 47e8e722682..09084fd646a 100644 --- a/drivers/usb/gadget/config.c +++ b/drivers/usb/gadget/config.c | |||
@@ -128,7 +128,7 @@ int usb_gadget_config_buf( | |||
128 | * with identifiers (for interfaces, strings, endpoints, and more) | 128 | * with identifiers (for interfaces, strings, endpoints, and more) |
129 | * as needed by a given function instance. | 129 | * as needed by a given function instance. |
130 | */ | 130 | */ |
131 | struct usb_descriptor_header **__init | 131 | struct usb_descriptor_header ** |
132 | usb_copy_descriptors(struct usb_descriptor_header **src) | 132 | usb_copy_descriptors(struct usb_descriptor_header **src) |
133 | { | 133 | { |
134 | struct usb_descriptor_header **tmp; | 134 | struct usb_descriptor_header **tmp; |
@@ -175,7 +175,7 @@ usb_copy_descriptors(struct usb_descriptor_header **src) | |||
175 | * intended use is to help remembering the endpoint descriptor to use | 175 | * intended use is to help remembering the endpoint descriptor to use |
176 | * when enabling a given endpoint. | 176 | * when enabling a given endpoint. |
177 | */ | 177 | */ |
178 | struct usb_endpoint_descriptor *__init | 178 | struct usb_endpoint_descriptor * |
179 | usb_find_endpoint( | 179 | usb_find_endpoint( |
180 | struct usb_descriptor_header **src, | 180 | struct usb_descriptor_header **src, |
181 | struct usb_descriptor_header **copy, | 181 | struct usb_descriptor_header **copy, |