diff options
Diffstat (limited to 'drivers/usb/dwc3/core.c')
-rw-r--r-- | drivers/usb/dwc3/core.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index cc5dac11d305..71610800cd88 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c | |||
@@ -140,8 +140,7 @@ static void dwc3_free_one_event_buffer(struct dwc3 *dwc, | |||
140 | * Returns a pointer to the allocated event buffer structure on success | 140 | * Returns a pointer to the allocated event buffer structure on success |
141 | * otherwise ERR_PTR(errno). | 141 | * otherwise ERR_PTR(errno). |
142 | */ | 142 | */ |
143 | static struct dwc3_event_buffer *__devinit | 143 | static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, unsigned length) |
144 | dwc3_alloc_one_event_buffer(struct dwc3 *dwc, unsigned length) | ||
145 | { | 144 | { |
146 | struct dwc3_event_buffer *evt; | 145 | struct dwc3_event_buffer *evt; |
147 | 146 | ||
@@ -183,7 +182,7 @@ static void dwc3_free_event_buffers(struct dwc3 *dwc) | |||
183 | * Returns 0 on success otherwise negative errno. In the error case, dwc | 182 | * Returns 0 on success otherwise negative errno. In the error case, dwc |
184 | * may contain some buffers allocated but not all which were requested. | 183 | * may contain some buffers allocated but not all which were requested. |
185 | */ | 184 | */ |
186 | static int __devinit dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) | 185 | static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) |
187 | { | 186 | { |
188 | int num; | 187 | int num; |
189 | int i; | 188 | int i; |
@@ -260,7 +259,7 @@ static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) | |||
260 | } | 259 | } |
261 | } | 260 | } |
262 | 261 | ||
263 | static void __devinit dwc3_cache_hwparams(struct dwc3 *dwc) | 262 | static void dwc3_cache_hwparams(struct dwc3 *dwc) |
264 | { | 263 | { |
265 | struct dwc3_hwparams *parms = &dwc->hwparams; | 264 | struct dwc3_hwparams *parms = &dwc->hwparams; |
266 | 265 | ||
@@ -281,7 +280,7 @@ static void __devinit dwc3_cache_hwparams(struct dwc3 *dwc) | |||
281 | * | 280 | * |
282 | * Returns 0 on success otherwise negative errno. | 281 | * Returns 0 on success otherwise negative errno. |
283 | */ | 282 | */ |
284 | static int __devinit dwc3_core_init(struct dwc3 *dwc) | 283 | static int dwc3_core_init(struct dwc3 *dwc) |
285 | { | 284 | { |
286 | unsigned long timeout; | 285 | unsigned long timeout; |
287 | u32 reg; | 286 | u32 reg; |
@@ -360,7 +359,7 @@ static void dwc3_core_exit(struct dwc3 *dwc) | |||
360 | 359 | ||
361 | #define DWC3_ALIGN_MASK (16 - 1) | 360 | #define DWC3_ALIGN_MASK (16 - 1) |
362 | 361 | ||
363 | static int __devinit dwc3_probe(struct platform_device *pdev) | 362 | static int dwc3_probe(struct platform_device *pdev) |
364 | { | 363 | { |
365 | struct device_node *node = pdev->dev.of_node; | 364 | struct device_node *node = pdev->dev.of_node; |
366 | struct resource *res; | 365 | struct resource *res; |