diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:21:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 16:27:16 -0500 |
commit | 41ac7b3ab7fe1d6175839947a877fdf95cbd2211 (patch) | |
tree | 99cfe77797b6822424e37e365297d991e0800ab6 /drivers | |
parent | 7690417db5085f0de03aa70b8ca01b0118e8a1b4 (diff) |
usb: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: Li Yang <leoli@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Geoff Levand <geoff@infradead.org>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: Olav Kongas <ok@artecdesign.ee>
Cc: Lennert Buytenhek <kernel@wantstofly.org>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
85 files changed, 145 insertions, 155 deletions
diff --git a/drivers/usb/c67x00/c67x00-drv.c b/drivers/usb/c67x00/c67x00-drv.c index 855d538752c..21913dfeecc 100644 --- a/drivers/usb/c67x00/c67x00-drv.c +++ b/drivers/usb/c67x00/c67x00-drv.c | |||
@@ -116,7 +116,7 @@ static irqreturn_t c67x00_irq(int irq, void *__dev) | |||
116 | 116 | ||
117 | /* ------------------------------------------------------------------------- */ | 117 | /* ------------------------------------------------------------------------- */ |
118 | 118 | ||
119 | static int __devinit c67x00_drv_probe(struct platform_device *pdev) | 119 | static int c67x00_drv_probe(struct platform_device *pdev) |
120 | { | 120 | { |
121 | struct c67x00_device *c67x00; | 121 | struct c67x00_device *c67x00; |
122 | struct c67x00_platform_data *pdata; | 122 | struct c67x00_platform_data *pdata; |
diff --git a/drivers/usb/chipidea/ci13xxx_imx.c b/drivers/usb/chipidea/ci13xxx_imx.c index 565973035ca..424bff91352 100644 --- a/drivers/usb/chipidea/ci13xxx_imx.c +++ b/drivers/usb/chipidea/ci13xxx_imx.c | |||
@@ -93,7 +93,7 @@ static struct ci13xxx_platform_data ci13xxx_imx_platdata __devinitdata = { | |||
93 | .capoffset = DEF_CAPOFFSET, | 93 | .capoffset = DEF_CAPOFFSET, |
94 | }; | 94 | }; |
95 | 95 | ||
96 | static int __devinit ci13xxx_imx_probe(struct platform_device *pdev) | 96 | static int ci13xxx_imx_probe(struct platform_device *pdev) |
97 | { | 97 | { |
98 | struct ci13xxx_imx_data *data; | 98 | struct ci13xxx_imx_data *data; |
99 | struct platform_device *plat_ci, *phy_pdev; | 99 | struct platform_device *plat_ci, *phy_pdev; |
diff --git a/drivers/usb/chipidea/ci13xxx_msm.c b/drivers/usb/chipidea/ci13xxx_msm.c index 406c5af2da5..e8a8ba36b10 100644 --- a/drivers/usb/chipidea/ci13xxx_msm.c +++ b/drivers/usb/chipidea/ci13xxx_msm.c | |||
@@ -55,7 +55,7 @@ static struct ci13xxx_platform_data ci13xxx_msm_platdata = { | |||
55 | .notify_event = ci13xxx_msm_notify_event, | 55 | .notify_event = ci13xxx_msm_notify_event, |
56 | }; | 56 | }; |
57 | 57 | ||
58 | static int __devinit ci13xxx_msm_probe(struct platform_device *pdev) | 58 | static int ci13xxx_msm_probe(struct platform_device *pdev) |
59 | { | 59 | { |
60 | struct platform_device *plat_ci; | 60 | struct platform_device *plat_ci; |
61 | 61 | ||
diff --git a/drivers/usb/chipidea/ci13xxx_pci.c b/drivers/usb/chipidea/ci13xxx_pci.c index e1cb2fb2ef3..cb7eb3ede5e 100644 --- a/drivers/usb/chipidea/ci13xxx_pci.c +++ b/drivers/usb/chipidea/ci13xxx_pci.c | |||
@@ -48,7 +48,7 @@ struct ci13xxx_platform_data penwell_pci_platdata = { | |||
48 | * Allocates basic PCI resources for this USB device controller, and then | 48 | * Allocates basic PCI resources for this USB device controller, and then |
49 | * invokes the udc_probe() method to start the UDC associated with it | 49 | * invokes the udc_probe() method to start the UDC associated with it |
50 | */ | 50 | */ |
51 | static int __devinit ci13xxx_pci_probe(struct pci_dev *pdev, | 51 | static int ci13xxx_pci_probe(struct pci_dev *pdev, |
52 | const struct pci_device_id *id) | 52 | const struct pci_device_id *id) |
53 | { | 53 | { |
54 | struct ci13xxx_platform_data *platdata = (void *)id->driver_data; | 54 | struct ci13xxx_platform_data *platdata = (void *)id->driver_data; |
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 46f23f226ae..7f9c0d21c89 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c | |||
@@ -390,7 +390,7 @@ void ci13xxx_remove_device(struct platform_device *pdev) | |||
390 | } | 390 | } |
391 | EXPORT_SYMBOL_GPL(ci13xxx_remove_device); | 391 | EXPORT_SYMBOL_GPL(ci13xxx_remove_device); |
392 | 392 | ||
393 | static int __devinit ci_hdrc_probe(struct platform_device *pdev) | 393 | static int ci_hdrc_probe(struct platform_device *pdev) |
394 | { | 394 | { |
395 | struct device *dev = &pdev->dev; | 395 | struct device *dev = &pdev->dev; |
396 | struct ci13xxx *ci; | 396 | struct ci13xxx *ci; |
diff --git a/drivers/usb/chipidea/usbmisc_imx6q.c b/drivers/usb/chipidea/usbmisc_imx6q.c index 81238a46729..ee6fa872f93 100644 --- a/drivers/usb/chipidea/usbmisc_imx6q.c +++ b/drivers/usb/chipidea/usbmisc_imx6q.c | |||
@@ -82,7 +82,7 @@ static const struct of_device_id usbmisc_imx6q_dt_ids[] = { | |||
82 | { /* sentinel */ } | 82 | { /* sentinel */ } |
83 | }; | 83 | }; |
84 | 84 | ||
85 | static int __devinit usbmisc_imx6q_probe(struct platform_device *pdev) | 85 | static int usbmisc_imx6q_probe(struct platform_device *pdev) |
86 | { | 86 | { |
87 | struct resource *res; | 87 | struct resource *res; |
88 | struct imx6q_usbmisc *data; | 88 | struct imx6q_usbmisc *data; |
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index cc5dac11d30..71610800cd8 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; |
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c index d4a30f11872..33ae98c5278 100644 --- a/drivers/usb/dwc3/debugfs.c +++ b/drivers/usb/dwc3/debugfs.c | |||
@@ -652,7 +652,7 @@ static const struct file_operations dwc3_link_state_fops = { | |||
652 | .release = single_release, | 652 | .release = single_release, |
653 | }; | 653 | }; |
654 | 654 | ||
655 | int __devinit dwc3_debugfs_init(struct dwc3 *dwc) | 655 | int dwc3_debugfs_init(struct dwc3 *dwc) |
656 | { | 656 | { |
657 | struct dentry *root; | 657 | struct dentry *root; |
658 | struct dentry *file; | 658 | struct dentry *file; |
diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c index 19a98184e58..d43f0760ca6 100644 --- a/drivers/usb/dwc3/dwc3-exynos.c +++ b/drivers/usb/dwc3/dwc3-exynos.c | |||
@@ -34,7 +34,7 @@ struct dwc3_exynos { | |||
34 | struct clk *clk; | 34 | struct clk *clk; |
35 | }; | 35 | }; |
36 | 36 | ||
37 | static int __devinit dwc3_exynos_register_phys(struct dwc3_exynos *exynos) | 37 | static int dwc3_exynos_register_phys(struct dwc3_exynos *exynos) |
38 | { | 38 | { |
39 | struct nop_usb_xceiv_platform_data pdata; | 39 | struct nop_usb_xceiv_platform_data pdata; |
40 | struct platform_device *pdev; | 40 | struct platform_device *pdev; |
@@ -90,7 +90,7 @@ err1: | |||
90 | 90 | ||
91 | static u64 dwc3_exynos_dma_mask = DMA_BIT_MASK(32); | 91 | static u64 dwc3_exynos_dma_mask = DMA_BIT_MASK(32); |
92 | 92 | ||
93 | static int __devinit dwc3_exynos_probe(struct platform_device *pdev) | 93 | static int dwc3_exynos_probe(struct platform_device *pdev) |
94 | { | 94 | { |
95 | struct platform_device *dwc3; | 95 | struct platform_device *dwc3; |
96 | struct dwc3_exynos *exynos; | 96 | struct dwc3_exynos *exynos; |
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index afbc6e99188..e114bb58ccf 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb/dwc3/dwc3-omap.c | |||
@@ -157,7 +157,7 @@ static inline void dwc3_omap_writel(void __iomem *base, u32 offset, u32 value) | |||
157 | writel(value, base + offset); | 157 | writel(value, base + offset); |
158 | } | 158 | } |
159 | 159 | ||
160 | static int __devinit dwc3_omap_register_phys(struct dwc3_omap *omap) | 160 | static int dwc3_omap_register_phys(struct dwc3_omap *omap) |
161 | { | 161 | { |
162 | struct nop_usb_xceiv_platform_data pdata; | 162 | struct nop_usb_xceiv_platform_data pdata; |
163 | struct platform_device *pdev; | 163 | struct platform_device *pdev; |
@@ -262,7 +262,7 @@ static irqreturn_t dwc3_omap_interrupt(int irq, void *_omap) | |||
262 | return IRQ_HANDLED; | 262 | return IRQ_HANDLED; |
263 | } | 263 | } |
264 | 264 | ||
265 | static int __devinit dwc3_omap_probe(struct platform_device *pdev) | 265 | static int dwc3_omap_probe(struct platform_device *pdev) |
266 | { | 266 | { |
267 | struct dwc3_omap_data *pdata = pdev->dev.platform_data; | 267 | struct dwc3_omap_data *pdata = pdev->dev.platform_data; |
268 | struct device_node *node = pdev->dev.of_node; | 268 | struct device_node *node = pdev->dev.of_node; |
diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index b3eeec7c6bc..68e389b589d 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c | |||
@@ -58,7 +58,7 @@ struct dwc3_pci { | |||
58 | struct platform_device *usb3_phy; | 58 | struct platform_device *usb3_phy; |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static int __devinit dwc3_pci_register_phys(struct dwc3_pci *glue) | 61 | static int dwc3_pci_register_phys(struct dwc3_pci *glue) |
62 | { | 62 | { |
63 | struct nop_usb_xceiv_platform_data pdata; | 63 | struct nop_usb_xceiv_platform_data pdata; |
64 | struct platform_device *pdev; | 64 | struct platform_device *pdev; |
@@ -112,7 +112,7 @@ err1: | |||
112 | return ret; | 112 | return ret; |
113 | } | 113 | } |
114 | 114 | ||
115 | static int __devinit dwc3_pci_probe(struct pci_dev *pci, | 115 | static int dwc3_pci_probe(struct pci_dev *pci, |
116 | const struct pci_device_id *id) | 116 | const struct pci_device_id *id) |
117 | { | 117 | { |
118 | struct resource res[2]; | 118 | struct resource res[2]; |
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 7b7deddf6a5..2e43b332aae 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c | |||
@@ -1579,7 +1579,7 @@ static const struct usb_gadget_ops dwc3_gadget_ops = { | |||
1579 | 1579 | ||
1580 | /* -------------------------------------------------------------------------- */ | 1580 | /* -------------------------------------------------------------------------- */ |
1581 | 1581 | ||
1582 | static int __devinit dwc3_gadget_init_endpoints(struct dwc3 *dwc) | 1582 | static int dwc3_gadget_init_endpoints(struct dwc3 *dwc) |
1583 | { | 1583 | { |
1584 | struct dwc3_ep *dep; | 1584 | struct dwc3_ep *dep; |
1585 | u8 epnum; | 1585 | u8 epnum; |
@@ -2374,7 +2374,7 @@ static irqreturn_t dwc3_interrupt(int irq, void *_dwc) | |||
2374 | * | 2374 | * |
2375 | * Returns 0 on success otherwise negative errno. | 2375 | * Returns 0 on success otherwise negative errno. |
2376 | */ | 2376 | */ |
2377 | int __devinit dwc3_gadget_init(struct dwc3 *dwc) | 2377 | int dwc3_gadget_init(struct dwc3 *dwc) |
2378 | { | 2378 | { |
2379 | u32 reg; | 2379 | u32 reg; |
2380 | int ret; | 2380 | int ret; |
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index 89d90b5fb78..e6135faabc3 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c | |||
@@ -1673,7 +1673,7 @@ static void at91udc_shutdown(struct platform_device *dev) | |||
1673 | spin_unlock_irqrestore(&udc->lock, flags); | 1673 | spin_unlock_irqrestore(&udc->lock, flags); |
1674 | } | 1674 | } |
1675 | 1675 | ||
1676 | static void __devinit at91udc_of_init(struct at91_udc *udc, | 1676 | static void at91udc_of_init(struct at91_udc *udc, |
1677 | struct device_node *np) | 1677 | struct device_node *np) |
1678 | { | 1678 | { |
1679 | struct at91_udc_data *board = &udc->board; | 1679 | struct at91_udc_data *board = &udc->board; |
@@ -1693,7 +1693,7 @@ static void __devinit at91udc_of_init(struct at91_udc *udc, | |||
1693 | board->pullup_active_low = (flags & OF_GPIO_ACTIVE_LOW) ? 1 : 0; | 1693 | board->pullup_active_low = (flags & OF_GPIO_ACTIVE_LOW) ? 1 : 0; |
1694 | } | 1694 | } |
1695 | 1695 | ||
1696 | static int __devinit at91udc_probe(struct platform_device *pdev) | 1696 | static int at91udc_probe(struct platform_device *pdev) |
1697 | { | 1697 | { |
1698 | struct device *dev = &pdev->dev; | 1698 | struct device *dev = &pdev->dev; |
1699 | struct at91_udc *udc; | 1699 | struct at91_udc *udc; |
diff --git a/drivers/usb/gadget/bcm63xx_udc.c b/drivers/usb/gadget/bcm63xx_udc.c index b44e43641d5..18eff74e336 100644 --- a/drivers/usb/gadget/bcm63xx_udc.c +++ b/drivers/usb/gadget/bcm63xx_udc.c | |||
@@ -2323,7 +2323,7 @@ static void bcm63xx_udc_gadget_release(struct device *dev) | |||
2323 | * Note that platform data is required, because pd.port_no varies from chip | 2323 | * Note that platform data is required, because pd.port_no varies from chip |
2324 | * to chip and is used to switch the correct USB port to device mode. | 2324 | * to chip and is used to switch the correct USB port to device mode. |
2325 | */ | 2325 | */ |
2326 | static int __devinit bcm63xx_udc_probe(struct platform_device *pdev) | 2326 | static int bcm63xx_udc_probe(struct platform_device *pdev) |
2327 | { | 2327 | { |
2328 | struct device *dev = &pdev->dev; | 2328 | struct device *dev = &pdev->dev; |
2329 | struct bcm63xx_usbd_platform_data *pd = dev->platform_data; | 2329 | struct bcm63xx_usbd_platform_data *pd = dev->platform_data; |
diff --git a/drivers/usb/gadget/f_uac2.c b/drivers/usb/gadget/f_uac2.c index 91396a1683e..d7da258fa3f 100644 --- a/drivers/usb/gadget/f_uac2.c +++ b/drivers/usb/gadget/f_uac2.c | |||
@@ -402,7 +402,7 @@ static struct snd_pcm_ops uac2_pcm_ops = { | |||
402 | .prepare = uac2_pcm_null, | 402 | .prepare = uac2_pcm_null, |
403 | }; | 403 | }; |
404 | 404 | ||
405 | static int __devinit snd_uac2_probe(struct platform_device *pdev) | 405 | static int snd_uac2_probe(struct platform_device *pdev) |
406 | { | 406 | { |
407 | struct snd_uac2_chip *uac2 = pdev_to_uac2(pdev); | 407 | struct snd_uac2_chip *uac2 = pdev_to_uac2(pdev); |
408 | struct snd_card *card; | 408 | struct snd_card *card; |
diff --git a/drivers/usb/gadget/fsl_qe_udc.c b/drivers/usb/gadget/fsl_qe_udc.c index 21db1f71d4c..8ad04a0b9e7 100644 --- a/drivers/usb/gadget/fsl_qe_udc.c +++ b/drivers/usb/gadget/fsl_qe_udc.c | |||
@@ -2347,7 +2347,7 @@ static int fsl_qe_stop(struct usb_gadget *gadget, | |||
2347 | } | 2347 | } |
2348 | 2348 | ||
2349 | /* udc structure's alloc and setup, include ep-param alloc */ | 2349 | /* udc structure's alloc and setup, include ep-param alloc */ |
2350 | static struct qe_udc __devinit *qe_udc_config(struct platform_device *ofdev) | 2350 | static struct qe_udc *qe_udc_config(struct platform_device *ofdev) |
2351 | { | 2351 | { |
2352 | struct qe_udc *udc; | 2352 | struct qe_udc *udc; |
2353 | struct device_node *np = ofdev->dev.of_node; | 2353 | struct device_node *np = ofdev->dev.of_node; |
@@ -2402,7 +2402,7 @@ cleanup: | |||
2402 | } | 2402 | } |
2403 | 2403 | ||
2404 | /* USB Controller register init */ | 2404 | /* USB Controller register init */ |
2405 | static int __devinit qe_udc_reg_init(struct qe_udc *udc) | 2405 | static int qe_udc_reg_init(struct qe_udc *udc) |
2406 | { | 2406 | { |
2407 | struct usb_ctlr __iomem *qe_usbregs; | 2407 | struct usb_ctlr __iomem *qe_usbregs; |
2408 | qe_usbregs = udc->usb_regs; | 2408 | qe_usbregs = udc->usb_regs; |
@@ -2420,7 +2420,7 @@ static int __devinit qe_udc_reg_init(struct qe_udc *udc) | |||
2420 | return 0; | 2420 | return 0; |
2421 | } | 2421 | } |
2422 | 2422 | ||
2423 | static int __devinit qe_ep_config(struct qe_udc *udc, unsigned char pipe_num) | 2423 | static int qe_ep_config(struct qe_udc *udc, unsigned char pipe_num) |
2424 | { | 2424 | { |
2425 | struct qe_ep *ep = &udc->eps[pipe_num]; | 2425 | struct qe_ep *ep = &udc->eps[pipe_num]; |
2426 | 2426 | ||
@@ -2473,7 +2473,7 @@ static void qe_udc_release(struct device *dev) | |||
2473 | 2473 | ||
2474 | /* Driver probe functions */ | 2474 | /* Driver probe functions */ |
2475 | static const struct of_device_id qe_udc_match[]; | 2475 | static const struct of_device_id qe_udc_match[]; |
2476 | static int __devinit qe_udc_probe(struct platform_device *ofdev) | 2476 | static int qe_udc_probe(struct platform_device *ofdev) |
2477 | { | 2477 | { |
2478 | struct qe_udc *udc; | 2478 | struct qe_udc *udc; |
2479 | const struct of_device_id *match; | 2479 | const struct of_device_id *match; |
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c index ea45224f78c..24196492ae2 100644 --- a/drivers/usb/gadget/mv_udc_core.c +++ b/drivers/usb/gadget/mv_udc_core.c | |||
@@ -2188,7 +2188,7 @@ static int __devexit mv_udc_remove(struct platform_device *dev) | |||
2188 | return 0; | 2188 | return 0; |
2189 | } | 2189 | } |
2190 | 2190 | ||
2191 | static int __devinit mv_udc_probe(struct platform_device *dev) | 2191 | static int mv_udc_probe(struct platform_device *dev) |
2192 | { | 2192 | { |
2193 | struct mv_usb_platform_data *pdata = dev->dev.platform_data; | 2193 | struct mv_usb_platform_data *pdata = dev->dev.platform_data; |
2194 | struct mv_udc *udc; | 2194 | struct mv_udc *udc; |
diff --git a/drivers/usb/gadget/net2272.c b/drivers/usb/gadget/net2272.c index 26c305321c4..f0103dd2a10 100644 --- a/drivers/usb/gadget/net2272.c +++ b/drivers/usb/gadget/net2272.c | |||
@@ -2215,8 +2215,7 @@ net2272_remove(struct net2272 *dev) | |||
2215 | dev_info(dev->dev, "unbind\n"); | 2215 | dev_info(dev->dev, "unbind\n"); |
2216 | } | 2216 | } |
2217 | 2217 | ||
2218 | static struct net2272 * __devinit | 2218 | static struct net2272 *net2272_probe_init(struct device *dev, unsigned int irq) |
2219 | net2272_probe_init(struct device *dev, unsigned int irq) | ||
2220 | { | 2219 | { |
2221 | struct net2272 *ret; | 2220 | struct net2272 *ret; |
2222 | 2221 | ||
@@ -2246,7 +2245,7 @@ net2272_probe_init(struct device *dev, unsigned int irq) | |||
2246 | return ret; | 2245 | return ret; |
2247 | } | 2246 | } |
2248 | 2247 | ||
2249 | static int __devinit | 2248 | static int |
2250 | net2272_probe_fin(struct net2272 *dev, unsigned int irqflags) | 2249 | net2272_probe_fin(struct net2272 *dev, unsigned int irqflags) |
2251 | { | 2250 | { |
2252 | int ret; | 2251 | int ret; |
@@ -2306,7 +2305,7 @@ err_add_udc: | |||
2306 | * don't respond over USB until a gadget driver binds to us | 2305 | * don't respond over USB until a gadget driver binds to us |
2307 | */ | 2306 | */ |
2308 | 2307 | ||
2309 | static int __devinit | 2308 | static int |
2310 | net2272_rdk1_probe(struct pci_dev *pdev, struct net2272 *dev) | 2309 | net2272_rdk1_probe(struct pci_dev *pdev, struct net2272 *dev) |
2311 | { | 2310 | { |
2312 | unsigned long resource, len, tmp; | 2311 | unsigned long resource, len, tmp; |
@@ -2389,7 +2388,7 @@ net2272_rdk1_probe(struct pci_dev *pdev, struct net2272 *dev) | |||
2389 | return ret; | 2388 | return ret; |
2390 | } | 2389 | } |
2391 | 2390 | ||
2392 | static int __devinit | 2391 | static int |
2393 | net2272_rdk2_probe(struct pci_dev *pdev, struct net2272 *dev) | 2392 | net2272_rdk2_probe(struct pci_dev *pdev, struct net2272 *dev) |
2394 | { | 2393 | { |
2395 | unsigned long resource, len; | 2394 | unsigned long resource, len; |
@@ -2447,7 +2446,7 @@ net2272_rdk2_probe(struct pci_dev *pdev, struct net2272 *dev) | |||
2447 | return ret; | 2446 | return ret; |
2448 | } | 2447 | } |
2449 | 2448 | ||
2450 | static int __devinit | 2449 | static int |
2451 | net2272_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) | 2450 | net2272_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) |
2452 | { | 2451 | { |
2453 | struct net2272 *dev; | 2452 | struct net2272 *dev; |
@@ -2595,7 +2594,7 @@ static inline void net2272_pci_unregister(void) { } | |||
2595 | 2594 | ||
2596 | /*---------------------------------------------------------------------------*/ | 2595 | /*---------------------------------------------------------------------------*/ |
2597 | 2596 | ||
2598 | static int __devinit | 2597 | static int |
2599 | net2272_plat_probe(struct platform_device *pdev) | 2598 | net2272_plat_probe(struct platform_device *pdev) |
2600 | { | 2599 | { |
2601 | struct net2272 *dev; | 2600 | struct net2272 *dev; |
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index b5605ddfbd6..cbc07c117af 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c | |||
@@ -2506,7 +2506,7 @@ static inline void remove_proc_file(void) {} | |||
2506 | * UDC_SYSCON_1.CFG_LOCK is set can now work. We won't use that | 2506 | * UDC_SYSCON_1.CFG_LOCK is set can now work. We won't use that |
2507 | * capability yet though. | 2507 | * capability yet though. |
2508 | */ | 2508 | */ |
2509 | static unsigned __devinit | 2509 | static unsigned |
2510 | omap_ep_setup(char *name, u8 addr, u8 type, | 2510 | omap_ep_setup(char *name, u8 addr, u8 type, |
2511 | unsigned buf, unsigned maxp, int dbuf) | 2511 | unsigned buf, unsigned maxp, int dbuf) |
2512 | { | 2512 | { |
@@ -2624,7 +2624,7 @@ static void omap_udc_release(struct device *dev) | |||
2624 | udc = NULL; | 2624 | udc = NULL; |
2625 | } | 2625 | } |
2626 | 2626 | ||
2627 | static int __devinit | 2627 | static int |
2628 | omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) | 2628 | omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) |
2629 | { | 2629 | { |
2630 | unsigned tmp, buf; | 2630 | unsigned tmp, buf; |
@@ -2761,7 +2761,7 @@ omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) | |||
2761 | return 0; | 2761 | return 0; |
2762 | } | 2762 | } |
2763 | 2763 | ||
2764 | static int __devinit omap_udc_probe(struct platform_device *pdev) | 2764 | static int omap_udc_probe(struct platform_device *pdev) |
2765 | { | 2765 | { |
2766 | int status = -ENODEV; | 2766 | int status = -ENODEV; |
2767 | int hmc; | 2767 | int hmc; |
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index 9fd6e5fdc35..6fdb1bd98e9 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers/usb/gadget/s3c-hsotg.c | |||
@@ -3072,7 +3072,7 @@ static struct usb_gadget_ops s3c_hsotg_gadget_ops = { | |||
3072 | * creation) to give to the gadget driver. Setup the endpoint name, any | 3072 | * creation) to give to the gadget driver. Setup the endpoint name, any |
3073 | * direction information and other state that may be required. | 3073 | * direction information and other state that may be required. |
3074 | */ | 3074 | */ |
3075 | static void __devinit s3c_hsotg_initep(struct s3c_hsotg *hsotg, | 3075 | static void s3c_hsotg_initep(struct s3c_hsotg *hsotg, |
3076 | struct s3c_hsotg_ep *hs_ep, | 3076 | struct s3c_hsotg_ep *hs_ep, |
3077 | int epnum) | 3077 | int epnum) |
3078 | { | 3078 | { |
@@ -3414,7 +3414,7 @@ static const struct file_operations ep_fops = { | |||
3414 | * with the same name as the device itself, in case we end up | 3414 | * with the same name as the device itself, in case we end up |
3415 | * with multiple blocks in future systems. | 3415 | * with multiple blocks in future systems. |
3416 | */ | 3416 | */ |
3417 | static void __devinit s3c_hsotg_create_debug(struct s3c_hsotg *hsotg) | 3417 | static void s3c_hsotg_create_debug(struct s3c_hsotg *hsotg) |
3418 | { | 3418 | { |
3419 | struct dentry *root; | 3419 | struct dentry *root; |
3420 | unsigned epidx; | 3420 | unsigned epidx; |
@@ -3490,7 +3490,7 @@ static void s3c_hsotg_release(struct device *dev) | |||
3490 | * @pdev: The platform information for the driver | 3490 | * @pdev: The platform information for the driver |
3491 | */ | 3491 | */ |
3492 | 3492 | ||
3493 | static int __devinit s3c_hsotg_probe(struct platform_device *pdev) | 3493 | static int s3c_hsotg_probe(struct platform_device *pdev) |
3494 | { | 3494 | { |
3495 | struct s3c_hsotg_plat *plat = pdev->dev.platform_data; | 3495 | struct s3c_hsotg_plat *plat = pdev->dev.platform_data; |
3496 | struct device *dev = &pdev->dev; | 3496 | struct device *dev = &pdev->dev; |
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c index d8e785d4ad5..52379b11f08 100644 --- a/drivers/usb/gadget/s3c-hsudc.c +++ b/drivers/usb/gadget/s3c-hsudc.c | |||
@@ -1261,7 +1261,7 @@ static struct usb_gadget_ops s3c_hsudc_gadget_ops = { | |||
1261 | .vbus_draw = s3c_hsudc_vbus_draw, | 1261 | .vbus_draw = s3c_hsudc_vbus_draw, |
1262 | }; | 1262 | }; |
1263 | 1263 | ||
1264 | static int __devinit s3c_hsudc_probe(struct platform_device *pdev) | 1264 | static int s3c_hsudc_probe(struct platform_device *pdev) |
1265 | { | 1265 | { |
1266 | struct device *dev = &pdev->dev; | 1266 | struct device *dev = &pdev->dev; |
1267 | struct resource *res; | 1267 | struct resource *res; |
diff --git a/drivers/usb/host/bcma-hcd.c b/drivers/usb/host/bcma-hcd.c index f5143a066ad..8c83ed90acb 100644 --- a/drivers/usb/host/bcma-hcd.c +++ b/drivers/usb/host/bcma-hcd.c | |||
@@ -54,7 +54,7 @@ static int bcma_wait_bits(struct bcma_device *dev, u16 reg, u32 bitmask, | |||
54 | return -ETIMEDOUT; | 54 | return -ETIMEDOUT; |
55 | } | 55 | } |
56 | 56 | ||
57 | static void __devinit bcma_hcd_4716wa(struct bcma_device *dev) | 57 | static void bcma_hcd_4716wa(struct bcma_device *dev) |
58 | { | 58 | { |
59 | #ifdef CONFIG_BCMA_DRIVER_MIPS | 59 | #ifdef CONFIG_BCMA_DRIVER_MIPS |
60 | /* Work around for 4716 failures. */ | 60 | /* Work around for 4716 failures. */ |
@@ -88,7 +88,7 @@ static void __devinit bcma_hcd_4716wa(struct bcma_device *dev) | |||
88 | } | 88 | } |
89 | 89 | ||
90 | /* based on arch/mips/brcm-boards/bcm947xx/pcibios.c */ | 90 | /* based on arch/mips/brcm-boards/bcm947xx/pcibios.c */ |
91 | static void __devinit bcma_hcd_init_chip(struct bcma_device *dev) | 91 | static void bcma_hcd_init_chip(struct bcma_device *dev) |
92 | { | 92 | { |
93 | u32 tmp; | 93 | u32 tmp; |
94 | 94 | ||
@@ -165,8 +165,7 @@ static const struct usb_ehci_pdata ehci_pdata = { | |||
165 | static const struct usb_ohci_pdata ohci_pdata = { | 165 | static const struct usb_ohci_pdata ohci_pdata = { |
166 | }; | 166 | }; |
167 | 167 | ||
168 | static struct platform_device * __devinit | 168 | static struct platform_device *bcma_hcd_create_pdev(struct bcma_device *dev, bool ohci, u32 addr) |
169 | bcma_hcd_create_pdev(struct bcma_device *dev, bool ohci, u32 addr) | ||
170 | { | 169 | { |
171 | struct platform_device *hci_dev; | 170 | struct platform_device *hci_dev; |
172 | struct resource hci_res[2]; | 171 | struct resource hci_res[2]; |
@@ -212,7 +211,7 @@ err_alloc: | |||
212 | return ERR_PTR(ret); | 211 | return ERR_PTR(ret); |
213 | } | 212 | } |
214 | 213 | ||
215 | static int __devinit bcma_hcd_probe(struct bcma_device *dev) | 214 | static int bcma_hcd_probe(struct bcma_device *dev) |
216 | { | 215 | { |
217 | int err; | 216 | int err; |
218 | u16 chipid_top; | 217 | u16 chipid_top; |
diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index 33f798ec1c7..96bf00d3261 100644 --- a/drivers/usb/host/ehci-atmel.c +++ b/drivers/usb/host/ehci-atmel.c | |||
@@ -97,7 +97,7 @@ static const struct hc_driver ehci_atmel_hc_driver = { | |||
97 | 97 | ||
98 | static u64 at91_ehci_dma_mask = DMA_BIT_MASK(32); | 98 | static u64 at91_ehci_dma_mask = DMA_BIT_MASK(32); |
99 | 99 | ||
100 | static int __devinit ehci_atmel_drv_probe(struct platform_device *pdev) | 100 | static int ehci_atmel_drv_probe(struct platform_device *pdev) |
101 | { | 101 | { |
102 | struct usb_hcd *hcd; | 102 | struct usb_hcd *hcd; |
103 | const struct hc_driver *driver = &ehci_atmel_hc_driver; | 103 | const struct hc_driver *driver = &ehci_atmel_hc_driver; |
diff --git a/drivers/usb/host/ehci-grlib.c b/drivers/usb/host/ehci-grlib.c index da4269550fb..1fc89292f5d 100644 --- a/drivers/usb/host/ehci-grlib.c +++ b/drivers/usb/host/ehci-grlib.c | |||
@@ -82,7 +82,7 @@ static const struct hc_driver ehci_grlib_hc_driver = { | |||
82 | }; | 82 | }; |
83 | 83 | ||
84 | 84 | ||
85 | static int __devinit ehci_hcd_grlib_probe(struct platform_device *op) | 85 | static int ehci_hcd_grlib_probe(struct platform_device *op) |
86 | { | 86 | { |
87 | struct device_node *dn = op->dev.of_node; | 87 | struct device_node *dn = op->dev.of_node; |
88 | struct usb_hcd *hcd; | 88 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index 96da679bece..f74794c9315 100644 --- a/drivers/usb/host/ehci-orion.c +++ b/drivers/usb/host/ehci-orion.c | |||
@@ -146,7 +146,7 @@ static const struct hc_driver ehci_orion_hc_driver = { | |||
146 | .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete, | 146 | .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete, |
147 | }; | 147 | }; |
148 | 148 | ||
149 | static void __devinit | 149 | static void |
150 | ehci_orion_conf_mbus_windows(struct usb_hcd *hcd, | 150 | ehci_orion_conf_mbus_windows(struct usb_hcd *hcd, |
151 | const struct mbus_dram_target_info *dram) | 151 | const struct mbus_dram_target_info *dram) |
152 | { | 152 | { |
@@ -167,7 +167,7 @@ ehci_orion_conf_mbus_windows(struct usb_hcd *hcd, | |||
167 | } | 167 | } |
168 | } | 168 | } |
169 | 169 | ||
170 | static int __devinit ehci_orion_drv_probe(struct platform_device *pdev) | 170 | static int ehci_orion_drv_probe(struct platform_device *pdev) |
171 | { | 171 | { |
172 | struct orion_ehci_data *pd = pdev->dev.platform_data; | 172 | struct orion_ehci_data *pd = pdev->dev.platform_data; |
173 | const struct mbus_dram_target_info *dram; | 173 | const struct mbus_dram_target_info *dram; |
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index b807648876b..615cba016a6 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c | |||
@@ -61,7 +61,7 @@ static const struct ehci_driver_overrides platform_overrides __initdata = { | |||
61 | .reset = ehci_platform_reset, | 61 | .reset = ehci_platform_reset, |
62 | }; | 62 | }; |
63 | 63 | ||
64 | static int __devinit ehci_platform_probe(struct platform_device *dev) | 64 | static int ehci_platform_probe(struct platform_device *dev) |
65 | { | 65 | { |
66 | struct usb_hcd *hcd; | 66 | struct usb_hcd *hcd; |
67 | struct resource *res_mem; | 67 | struct resource *res_mem; |
diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c index fa937d05a02..45aceefd0c2 100644 --- a/drivers/usb/host/ehci-ppc-of.c +++ b/drivers/usb/host/ehci-ppc-of.c | |||
@@ -71,7 +71,7 @@ static const struct hc_driver ehci_ppc_of_hc_driver = { | |||
71 | * Fix: Enable Break Memory Transfer (BMT) in INSNREG3 | 71 | * Fix: Enable Break Memory Transfer (BMT) in INSNREG3 |
72 | */ | 72 | */ |
73 | #define PPC440EPX_EHCI0_INSREG_BMT (0x1 << 0) | 73 | #define PPC440EPX_EHCI0_INSREG_BMT (0x1 << 0) |
74 | static int __devinit | 74 | static int |
75 | ppc44x_enable_bmt(struct device_node *dn) | 75 | ppc44x_enable_bmt(struct device_node *dn) |
76 | { | 76 | { |
77 | __iomem u32 *insreg_virt; | 77 | __iomem u32 *insreg_virt; |
@@ -87,7 +87,7 @@ ppc44x_enable_bmt(struct device_node *dn) | |||
87 | } | 87 | } |
88 | 88 | ||
89 | 89 | ||
90 | static int __devinit ehci_hcd_ppc_of_probe(struct platform_device *op) | 90 | static int ehci_hcd_ppc_of_probe(struct platform_device *op) |
91 | { | 91 | { |
92 | struct device_node *dn = op->dev.of_node; | 92 | struct device_node *dn = op->dev.of_node; |
93 | struct usb_hcd *hcd; | 93 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/ehci-ps3.c b/drivers/usb/host/ehci-ps3.c index 45a356e9f13..df5925a4f0d 100644 --- a/drivers/usb/host/ehci-ps3.c +++ b/drivers/usb/host/ehci-ps3.c | |||
@@ -93,7 +93,7 @@ static const struct hc_driver ps3_ehci_hc_driver = { | |||
93 | .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete, | 93 | .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete, |
94 | }; | 94 | }; |
95 | 95 | ||
96 | static int __devinit ps3_ehci_probe(struct ps3_system_bus_device *dev) | 96 | static int ps3_ehci_probe(struct ps3_system_bus_device *dev) |
97 | { | 97 | { |
98 | int result; | 98 | int result; |
99 | struct usb_hcd *hcd; | 99 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index f90a8815f4a..2cf19d1ab4b 100644 --- a/drivers/usb/host/ehci-s5p.c +++ b/drivers/usb/host/ehci-s5p.c | |||
@@ -85,7 +85,7 @@ static void s5p_setup_vbus_gpio(struct platform_device *pdev) | |||
85 | 85 | ||
86 | static u64 ehci_s5p_dma_mask = DMA_BIT_MASK(32); | 86 | static u64 ehci_s5p_dma_mask = DMA_BIT_MASK(32); |
87 | 87 | ||
88 | static int __devinit s5p_ehci_probe(struct platform_device *pdev) | 88 | static int s5p_ehci_probe(struct platform_device *pdev) |
89 | { | 89 | { |
90 | struct s5p_ehci_platdata *pdata; | 90 | struct s5p_ehci_platdata *pdata; |
91 | struct s5p_ehci_hcd *s5p_ehci; | 91 | struct s5p_ehci_hcd *s5p_ehci; |
diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c index 7bcb8b2863d..bf8d462c26a 100644 --- a/drivers/usb/host/ehci-w90x900.c +++ b/drivers/usb/host/ehci-w90x900.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #define PHY0_CTR (0xA4) | 18 | #define PHY0_CTR (0xA4) |
19 | #define PHY1_CTR (0xA8) | 19 | #define PHY1_CTR (0xA8) |
20 | 20 | ||
21 | static int __devinit usb_w90x900_probe(const struct hc_driver *driver, | 21 | static int usb_w90x900_probe(const struct hc_driver *driver, |
22 | struct platform_device *pdev) | 22 | struct platform_device *pdev) |
23 | { | 23 | { |
24 | struct usb_hcd *hcd; | 24 | struct usb_hcd *hcd; |
@@ -147,7 +147,7 @@ static const struct hc_driver ehci_w90x900_hc_driver = { | |||
147 | .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete, | 147 | .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete, |
148 | }; | 148 | }; |
149 | 149 | ||
150 | static int __devinit ehci_w90x900_probe(struct platform_device *pdev) | 150 | static int ehci_w90x900_probe(struct platform_device *pdev) |
151 | { | 151 | { |
152 | if (usb_disabled()) | 152 | if (usb_disabled()) |
153 | return -ENODEV; | 153 | return -ENODEV; |
diff --git a/drivers/usb/host/ehci-xilinx-of.c b/drivers/usb/host/ehci-xilinx-of.c index 6a3f921a5d7..4f285e8e404 100644 --- a/drivers/usb/host/ehci-xilinx-of.c +++ b/drivers/usb/host/ehci-xilinx-of.c | |||
@@ -125,7 +125,7 @@ static const struct hc_driver ehci_xilinx_of_hc_driver = { | |||
125 | * as HS only or HS/FS only, it checks the configuration in the device tree | 125 | * as HS only or HS/FS only, it checks the configuration in the device tree |
126 | * entry, and sets an appropriate value for hcd->has_tt. | 126 | * entry, and sets an appropriate value for hcd->has_tt. |
127 | */ | 127 | */ |
128 | static int __devinit ehci_hcd_xilinx_of_probe(struct platform_device *op) | 128 | static int ehci_hcd_xilinx_of_probe(struct platform_device *op) |
129 | { | 129 | { |
130 | struct device_node *dn = op->dev.of_node; | 130 | struct device_node *dn = op->dev.of_node; |
131 | struct usb_hcd *hcd; | 131 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/fhci-hcd.c b/drivers/usb/host/fhci-hcd.c index 92f4b99a3ab..618f143748a 100644 --- a/drivers/usb/host/fhci-hcd.c +++ b/drivers/usb/host/fhci-hcd.c | |||
@@ -561,7 +561,7 @@ static const struct hc_driver fhci_driver = { | |||
561 | .hub_control = fhci_hub_control, | 561 | .hub_control = fhci_hub_control, |
562 | }; | 562 | }; |
563 | 563 | ||
564 | static int __devinit of_fhci_probe(struct platform_device *ofdev) | 564 | static int of_fhci_probe(struct platform_device *ofdev) |
565 | { | 565 | { |
566 | struct device *dev = &ofdev->dev; | 566 | struct device *dev = &ofdev->dev; |
567 | struct device_node *node = dev->of_node; | 567 | struct device_node *node = dev->of_node; |
diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c index 3a5c82f6723..dc0aeba35c9 100644 --- a/drivers/usb/host/fsl-mph-dr-of.c +++ b/drivers/usb/host/fsl-mph-dr-of.c | |||
@@ -42,7 +42,7 @@ struct fsl_usb2_dev_data dr_mode_data[] __devinitdata = { | |||
42 | }, | 42 | }, |
43 | }; | 43 | }; |
44 | 44 | ||
45 | struct fsl_usb2_dev_data * __devinit get_dr_mode_data(struct device_node *np) | 45 | struct fsl_usb2_dev_data *get_dr_mode_data(struct device_node *np) |
46 | { | 46 | { |
47 | const unsigned char *prop; | 47 | const unsigned char *prop; |
48 | int i; | 48 | int i; |
@@ -59,7 +59,7 @@ struct fsl_usb2_dev_data * __devinit get_dr_mode_data(struct device_node *np) | |||
59 | return &dr_mode_data[0]; /* mode not specified, use host */ | 59 | return &dr_mode_data[0]; /* mode not specified, use host */ |
60 | } | 60 | } |
61 | 61 | ||
62 | static enum fsl_usb2_phy_modes __devinit determine_usb_phy(const char *phy_type) | 62 | static enum fsl_usb2_phy_modes determine_usb_phy(const char *phy_type) |
63 | { | 63 | { |
64 | if (!phy_type) | 64 | if (!phy_type) |
65 | return FSL_USB2_PHY_NONE; | 65 | return FSL_USB2_PHY_NONE; |
@@ -75,7 +75,7 @@ static enum fsl_usb2_phy_modes __devinit determine_usb_phy(const char *phy_type) | |||
75 | return FSL_USB2_PHY_NONE; | 75 | return FSL_USB2_PHY_NONE; |
76 | } | 76 | } |
77 | 77 | ||
78 | struct platform_device * __devinit fsl_usb2_device_register( | 78 | struct platform_device *fsl_usb2_device_register( |
79 | struct platform_device *ofdev, | 79 | struct platform_device *ofdev, |
80 | struct fsl_usb2_platform_data *pdata, | 80 | struct fsl_usb2_platform_data *pdata, |
81 | const char *name, int id) | 81 | const char *name, int id) |
@@ -154,7 +154,7 @@ static int usb_get_ver_info(struct device_node *np) | |||
154 | return ver; | 154 | return ver; |
155 | } | 155 | } |
156 | 156 | ||
157 | static int __devinit fsl_usb2_mph_dr_of_probe(struct platform_device *ofdev) | 157 | static int fsl_usb2_mph_dr_of_probe(struct platform_device *ofdev) |
158 | { | 158 | { |
159 | struct device_node *np = ofdev->dev.of_node; | 159 | struct device_node *np = ofdev->dev.of_node; |
160 | struct platform_device *usb_dev; | 160 | struct platform_device *usb_dev; |
diff --git a/drivers/usb/host/imx21-hcd.c b/drivers/usb/host/imx21-hcd.c index f19e2690c23..bd6a7447ccc 100644 --- a/drivers/usb/host/imx21-hcd.c +++ b/drivers/usb/host/imx21-hcd.c | |||
@@ -1680,7 +1680,7 @@ static int imx21_hc_reset(struct usb_hcd *hcd) | |||
1680 | return 0; | 1680 | return 0; |
1681 | } | 1681 | } |
1682 | 1682 | ||
1683 | static int __devinit imx21_hc_start(struct usb_hcd *hcd) | 1683 | static int imx21_hc_start(struct usb_hcd *hcd) |
1684 | { | 1684 | { |
1685 | struct imx21 *imx21 = hcd_to_imx21(hcd); | 1685 | struct imx21 *imx21 = hcd_to_imx21(hcd); |
1686 | unsigned long flags; | 1686 | unsigned long flags; |
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c index 9e65e3091c8..b64e661618b 100644 --- a/drivers/usb/host/isp116x-hcd.c +++ b/drivers/usb/host/isp116x-hcd.c | |||
@@ -1557,7 +1557,7 @@ static int isp116x_remove(struct platform_device *pdev) | |||
1557 | return 0; | 1557 | return 0; |
1558 | } | 1558 | } |
1559 | 1559 | ||
1560 | static int __devinit isp116x_probe(struct platform_device *pdev) | 1560 | static int isp116x_probe(struct platform_device *pdev) |
1561 | { | 1561 | { |
1562 | struct usb_hcd *hcd; | 1562 | struct usb_hcd *hcd; |
1563 | struct isp116x *isp116x; | 1563 | struct isp116x *isp116x; |
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index 1ad9d200722..5f8b63ce4be 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c | |||
@@ -2680,7 +2680,7 @@ static int __devexit isp1362_remove(struct platform_device *pdev) | |||
2680 | return 0; | 2680 | return 0; |
2681 | } | 2681 | } |
2682 | 2682 | ||
2683 | static int __devinit isp1362_probe(struct platform_device *pdev) | 2683 | static int isp1362_probe(struct platform_device *pdev) |
2684 | { | 2684 | { |
2685 | struct usb_hcd *hcd; | 2685 | struct usb_hcd *hcd; |
2686 | struct isp1362_hcd *isp1362_hcd; | 2686 | struct isp1362_hcd *isp1362_hcd; |
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c index 5fb3caee770..d752a4c4281 100644 --- a/drivers/usb/host/isp1760-if.c +++ b/drivers/usb/host/isp1760-if.c | |||
@@ -172,7 +172,7 @@ static struct platform_driver isp1760_of_driver = { | |||
172 | #endif | 172 | #endif |
173 | 173 | ||
174 | #ifdef CONFIG_PCI | 174 | #ifdef CONFIG_PCI |
175 | static int __devinit isp1761_pci_probe(struct pci_dev *dev, | 175 | static int isp1761_pci_probe(struct pci_dev *dev, |
176 | const struct pci_device_id *id) | 176 | const struct pci_device_id *id) |
177 | { | 177 | { |
178 | u8 latency, limit; | 178 | u8 latency, limit; |
@@ -346,7 +346,7 @@ static struct pci_driver isp1761_pci_driver = { | |||
346 | }; | 346 | }; |
347 | #endif | 347 | #endif |
348 | 348 | ||
349 | static int __devinit isp1760_plat_probe(struct platform_device *pdev) | 349 | static int isp1760_plat_probe(struct platform_device *pdev) |
350 | { | 350 | { |
351 | int ret = 0; | 351 | int ret = 0; |
352 | struct usb_hcd *hcd; | 352 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index e4480029bc0..ff94a7479a7 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c | |||
@@ -108,7 +108,7 @@ static void __devexit usb_hcd_at91_remove (struct usb_hcd *, struct platform_dev | |||
108 | * then invokes the start() method for the HCD associated with it | 108 | * then invokes the start() method for the HCD associated with it |
109 | * through the hotplug entry's driver_data. | 109 | * through the hotplug entry's driver_data. |
110 | */ | 110 | */ |
111 | static int __devinit usb_hcd_at91_probe(const struct hc_driver *driver, | 111 | static int usb_hcd_at91_probe(const struct hc_driver *driver, |
112 | struct platform_device *pdev) | 112 | struct platform_device *pdev) |
113 | { | 113 | { |
114 | int retval; | 114 | int retval; |
@@ -222,7 +222,7 @@ static void __devexit usb_hcd_at91_remove(struct usb_hcd *hcd, | |||
222 | 222 | ||
223 | /*-------------------------------------------------------------------------*/ | 223 | /*-------------------------------------------------------------------------*/ |
224 | 224 | ||
225 | static int __devinit | 225 | static int |
226 | ohci_at91_reset (struct usb_hcd *hcd) | 226 | ohci_at91_reset (struct usb_hcd *hcd) |
227 | { | 227 | { |
228 | struct at91_usbh_data *board = hcd->self.controller->platform_data; | 228 | struct at91_usbh_data *board = hcd->self.controller->platform_data; |
@@ -236,7 +236,7 @@ ohci_at91_reset (struct usb_hcd *hcd) | |||
236 | return 0; | 236 | return 0; |
237 | } | 237 | } |
238 | 238 | ||
239 | static int __devinit | 239 | static int |
240 | ohci_at91_start (struct usb_hcd *hcd) | 240 | ohci_at91_start (struct usb_hcd *hcd) |
241 | { | 241 | { |
242 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); | 242 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
@@ -506,7 +506,7 @@ MODULE_DEVICE_TABLE(of, at91_ohci_dt_ids); | |||
506 | 506 | ||
507 | static u64 at91_ohci_dma_mask = DMA_BIT_MASK(32); | 507 | static u64 at91_ohci_dma_mask = DMA_BIT_MASK(32); |
508 | 508 | ||
509 | static int __devinit ohci_at91_of_init(struct platform_device *pdev) | 509 | static int ohci_at91_of_init(struct platform_device *pdev) |
510 | { | 510 | { |
511 | struct device_node *np = pdev->dev.of_node; | 511 | struct device_node *np = pdev->dev.of_node; |
512 | int i, gpio; | 512 | int i, gpio; |
@@ -548,7 +548,7 @@ static int __devinit ohci_at91_of_init(struct platform_device *pdev) | |||
548 | return 0; | 548 | return 0; |
549 | } | 549 | } |
550 | #else | 550 | #else |
551 | static int __devinit ohci_at91_of_init(struct platform_device *pdev) | 551 | static int ohci_at91_of_init(struct platform_device *pdev) |
552 | { | 552 | { |
553 | return 0; | 553 | return 0; |
554 | } | 554 | } |
@@ -556,7 +556,7 @@ static int __devinit ohci_at91_of_init(struct platform_device *pdev) | |||
556 | 556 | ||
557 | /*-------------------------------------------------------------------------*/ | 557 | /*-------------------------------------------------------------------------*/ |
558 | 558 | ||
559 | static int __devinit ohci_hcd_at91_drv_probe(struct platform_device *pdev) | 559 | static int ohci_hcd_at91_drv_probe(struct platform_device *pdev) |
560 | { | 560 | { |
561 | struct at91_usbh_data *pdata; | 561 | struct at91_usbh_data *pdata; |
562 | int i; | 562 | int i; |
diff --git a/drivers/usb/host/ohci-ep93xx.c b/drivers/usb/host/ohci-ep93xx.c index a982f04ed78..8704e9fa5a8 100644 --- a/drivers/usb/host/ohci-ep93xx.c +++ b/drivers/usb/host/ohci-ep93xx.c | |||
@@ -107,7 +107,7 @@ static void usb_hcd_ep93xx_remove(struct usb_hcd *hcd, | |||
107 | usb_put_hcd(hcd); | 107 | usb_put_hcd(hcd); |
108 | } | 108 | } |
109 | 109 | ||
110 | static int __devinit ohci_ep93xx_start(struct usb_hcd *hcd) | 110 | static int ohci_ep93xx_start(struct usb_hcd *hcd) |
111 | { | 111 | { |
112 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); | 112 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); |
113 | int ret; | 113 | int ret; |
diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c index 2f673e872b7..1288cdb3137 100644 --- a/drivers/usb/host/ohci-exynos.c +++ b/drivers/usb/host/ohci-exynos.c | |||
@@ -76,7 +76,7 @@ static const struct hc_driver exynos_ohci_hc_driver = { | |||
76 | 76 | ||
77 | static u64 ohci_exynos_dma_mask = DMA_BIT_MASK(32); | 77 | static u64 ohci_exynos_dma_mask = DMA_BIT_MASK(32); |
78 | 78 | ||
79 | static int __devinit exynos_ohci_probe(struct platform_device *pdev) | 79 | static int exynos_ohci_probe(struct platform_device *pdev) |
80 | { | 80 | { |
81 | struct exynos4_ohci_platdata *pdata; | 81 | struct exynos4_ohci_platdata *pdata; |
82 | struct exynos_ohci_hcd *exynos_ohci; | 82 | struct exynos_ohci_hcd *exynos_ohci; |
diff --git a/drivers/usb/host/ohci-jz4740.c b/drivers/usb/host/ohci-jz4740.c index b4921b71355..59feb873813 100644 --- a/drivers/usb/host/ohci-jz4740.c +++ b/drivers/usb/host/ohci-jz4740.c | |||
@@ -145,7 +145,7 @@ static const struct hc_driver ohci_jz4740_hc_driver = { | |||
145 | }; | 145 | }; |
146 | 146 | ||
147 | 147 | ||
148 | static __devinit int jz4740_ohci_probe(struct platform_device *pdev) | 148 | static int jz4740_ohci_probe(struct platform_device *pdev) |
149 | { | 149 | { |
150 | int ret; | 150 | int ret; |
151 | struct usb_hcd *hcd; | 151 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host/ohci-nxp.c index e068f034cb9..2344040c16d 100644 --- a/drivers/usb/host/ohci-nxp.c +++ b/drivers/usb/host/ohci-nxp.c | |||
@@ -147,7 +147,7 @@ static void nxp_stop_hc(void) | |||
147 | __raw_writel(tmp, USB_OTG_STAT_CONTROL); | 147 | __raw_writel(tmp, USB_OTG_STAT_CONTROL); |
148 | } | 148 | } |
149 | 149 | ||
150 | static int __devinit ohci_nxp_start(struct usb_hcd *hcd) | 150 | static int ohci_nxp_start(struct usb_hcd *hcd) |
151 | { | 151 | { |
152 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); | 152 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); |
153 | int ret; | 153 | int ret; |
@@ -205,7 +205,7 @@ static const struct hc_driver ohci_nxp_hc_driver = { | |||
205 | .start_port_reset = ohci_start_port_reset, | 205 | .start_port_reset = ohci_start_port_reset, |
206 | }; | 206 | }; |
207 | 207 | ||
208 | static int __devinit usb_hcd_nxp_probe(struct platform_device *pdev) | 208 | static int usb_hcd_nxp_probe(struct platform_device *pdev) |
209 | { | 209 | { |
210 | struct usb_hcd *hcd = 0; | 210 | struct usb_hcd *hcd = 0; |
211 | struct ohci_hcd *ohci; | 211 | struct ohci_hcd *ohci; |
diff --git a/drivers/usb/host/ohci-octeon.c b/drivers/usb/host/ohci-octeon.c index d469bf9b9e5..d44430d009f 100644 --- a/drivers/usb/host/ohci-octeon.c +++ b/drivers/usb/host/ohci-octeon.c | |||
@@ -42,7 +42,7 @@ static void ohci_octeon_hw_stop(void) | |||
42 | octeon2_usb_clocks_stop(); | 42 | octeon2_usb_clocks_stop(); |
43 | } | 43 | } |
44 | 44 | ||
45 | static int __devinit ohci_octeon_start(struct usb_hcd *hcd) | 45 | static int ohci_octeon_start(struct usb_hcd *hcd) |
46 | { | 46 | { |
47 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); | 47 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); |
48 | int ret; | 48 | int ret; |
diff --git a/drivers/usb/host/ohci-omap3.c b/drivers/usb/host/ohci-omap3.c index 6bee6f191c8..b2398aa6c7a 100644 --- a/drivers/usb/host/ohci-omap3.c +++ b/drivers/usb/host/ohci-omap3.c | |||
@@ -125,7 +125,7 @@ static const struct hc_driver ohci_omap3_hc_driver = { | |||
125 | * then invokes the start() method for the HCD associated with it | 125 | * then invokes the start() method for the HCD associated with it |
126 | * through the hotplug entry's driver_data. | 126 | * through the hotplug entry's driver_data. |
127 | */ | 127 | */ |
128 | static int __devinit ohci_hcd_omap3_probe(struct platform_device *pdev) | 128 | static int ohci_hcd_omap3_probe(struct platform_device *pdev) |
129 | { | 129 | { |
130 | struct device *dev = &pdev->dev; | 130 | struct device *dev = &pdev->dev; |
131 | struct usb_hcd *hcd = NULL; | 131 | struct usb_hcd *hcd = NULL; |
diff --git a/drivers/usb/host/ohci-pci.c b/drivers/usb/host/ohci-pci.c index 6afa7dc4e4c..951514ef446 100644 --- a/drivers/usb/host/ohci-pci.c +++ b/drivers/usb/host/ohci-pci.c | |||
@@ -270,7 +270,7 @@ static int ohci_pci_reset (struct usb_hcd *hcd) | |||
270 | } | 270 | } |
271 | 271 | ||
272 | 272 | ||
273 | static int __devinit ohci_pci_start (struct usb_hcd *hcd) | 273 | static int ohci_pci_start (struct usb_hcd *hcd) |
274 | { | 274 | { |
275 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); | 275 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
276 | int ret; | 276 | int ret; |
diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c index ffe6c980847..c3f76fa8d7d 100644 --- a/drivers/usb/host/ohci-platform.c +++ b/drivers/usb/host/ohci-platform.c | |||
@@ -83,7 +83,7 @@ static const struct hc_driver ohci_platform_hc_driver = { | |||
83 | .start_port_reset = ohci_start_port_reset, | 83 | .start_port_reset = ohci_start_port_reset, |
84 | }; | 84 | }; |
85 | 85 | ||
86 | static int __devinit ohci_platform_probe(struct platform_device *dev) | 86 | static int ohci_platform_probe(struct platform_device *dev) |
87 | { | 87 | { |
88 | struct usb_hcd *hcd; | 88 | struct usb_hcd *hcd; |
89 | struct resource *res_mem; | 89 | struct resource *res_mem; |
diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c index e27d5ae2b9e..64c2ed9ff95 100644 --- a/drivers/usb/host/ohci-ppc-of.c +++ b/drivers/usb/host/ohci-ppc-of.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/prom.h> | 19 | #include <asm/prom.h> |
20 | 20 | ||
21 | 21 | ||
22 | static int __devinit | 22 | static int |
23 | ohci_ppc_of_start(struct usb_hcd *hcd) | 23 | ohci_ppc_of_start(struct usb_hcd *hcd) |
24 | { | 24 | { |
25 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); | 25 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); |
@@ -81,7 +81,7 @@ static const struct hc_driver ohci_ppc_of_hc_driver = { | |||
81 | }; | 81 | }; |
82 | 82 | ||
83 | 83 | ||
84 | static int __devinit ohci_hcd_ppc_of_probe(struct platform_device *op) | 84 | static int ohci_hcd_ppc_of_probe(struct platform_device *op) |
85 | { | 85 | { |
86 | struct device_node *dn = op->dev.of_node; | 86 | struct device_node *dn = op->dev.of_node; |
87 | struct usb_hcd *hcd; | 87 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/ohci-ps3.c b/drivers/usb/host/ohci-ps3.c index 2ee1d8d713d..7d35cd9e286 100644 --- a/drivers/usb/host/ohci-ps3.c +++ b/drivers/usb/host/ohci-ps3.c | |||
@@ -30,7 +30,7 @@ static int ps3_ohci_hc_reset(struct usb_hcd *hcd) | |||
30 | return ohci_init(ohci); | 30 | return ohci_init(ohci); |
31 | } | 31 | } |
32 | 32 | ||
33 | static int __devinit ps3_ohci_hc_start(struct usb_hcd *hcd) | 33 | static int ps3_ohci_hc_start(struct usb_hcd *hcd) |
34 | { | 34 | { |
35 | int result; | 35 | int result; |
36 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); | 36 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); |
@@ -76,7 +76,7 @@ static const struct hc_driver ps3_ohci_hc_driver = { | |||
76 | #endif | 76 | #endif |
77 | }; | 77 | }; |
78 | 78 | ||
79 | static int __devinit ps3_ohci_probe(struct ps3_system_bus_device *dev) | 79 | static int ps3_ohci_probe(struct ps3_system_bus_device *dev) |
80 | { | 80 | { |
81 | int result; | 81 | int result; |
82 | struct usb_hcd *hcd; | 82 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c index 156d289d3bb..efe71f3ca47 100644 --- a/drivers/usb/host/ohci-pxa27x.c +++ b/drivers/usb/host/ohci-pxa27x.c | |||
@@ -284,7 +284,7 @@ MODULE_DEVICE_TABLE(of, pxa_ohci_dt_ids); | |||
284 | 284 | ||
285 | static u64 pxa_ohci_dma_mask = DMA_BIT_MASK(32); | 285 | static u64 pxa_ohci_dma_mask = DMA_BIT_MASK(32); |
286 | 286 | ||
287 | static int __devinit ohci_pxa_of_init(struct platform_device *pdev) | 287 | static int ohci_pxa_of_init(struct platform_device *pdev) |
288 | { | 288 | { |
289 | struct device_node *np = pdev->dev.of_node; | 289 | struct device_node *np = pdev->dev.of_node; |
290 | struct pxaohci_platform_data *pdata; | 290 | struct pxaohci_platform_data *pdata; |
@@ -330,7 +330,7 @@ static int __devinit ohci_pxa_of_init(struct platform_device *pdev) | |||
330 | return 0; | 330 | return 0; |
331 | } | 331 | } |
332 | #else | 332 | #else |
333 | static int __devinit ohci_pxa_of_init(struct platform_device *pdev) | 333 | static int ohci_pxa_of_init(struct platform_device *pdev) |
334 | { | 334 | { |
335 | return 0; | 335 | return 0; |
336 | } | 336 | } |
@@ -471,7 +471,7 @@ void usb_hcd_pxa27x_remove (struct usb_hcd *hcd, struct platform_device *pdev) | |||
471 | 471 | ||
472 | /*-------------------------------------------------------------------------*/ | 472 | /*-------------------------------------------------------------------------*/ |
473 | 473 | ||
474 | static int __devinit | 474 | static int |
475 | ohci_pxa27x_start (struct usb_hcd *hcd) | 475 | ohci_pxa27x_start (struct usb_hcd *hcd) |
476 | { | 476 | { |
477 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); | 477 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c index 5c5c017850d..4f29e0b086b 100644 --- a/drivers/usb/host/ohci-s3c2410.c +++ b/drivers/usb/host/ohci-s3c2410.c | |||
@@ -458,7 +458,7 @@ static const struct hc_driver ohci_s3c2410_hc_driver = { | |||
458 | 458 | ||
459 | /* device driver */ | 459 | /* device driver */ |
460 | 460 | ||
461 | static int __devinit ohci_hcd_s3c2410_drv_probe(struct platform_device *pdev) | 461 | static int ohci_hcd_s3c2410_drv_probe(struct platform_device *pdev) |
462 | { | 462 | { |
463 | return usb_hcd_s3c2410_probe(&ohci_s3c2410_hc_driver, pdev); | 463 | return usb_hcd_s3c2410_probe(&ohci_s3c2410_hc_driver, pdev); |
464 | } | 464 | } |
diff --git a/drivers/usb/host/ohci-sa1111.c b/drivers/usb/host/ohci-sa1111.c index b6cc9252092..17b2a7dad77 100644 --- a/drivers/usb/host/ohci-sa1111.c +++ b/drivers/usb/host/ohci-sa1111.c | |||
@@ -63,7 +63,7 @@ static int ohci_sa1111_reset(struct usb_hcd *hcd) | |||
63 | return ohci_init(ohci); | 63 | return ohci_init(ohci); |
64 | } | 64 | } |
65 | 65 | ||
66 | static int __devinit ohci_sa1111_start(struct usb_hcd *hcd) | 66 | static int ohci_sa1111_start(struct usb_hcd *hcd) |
67 | { | 67 | { |
68 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); | 68 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); |
69 | int ret; | 69 | int ret; |
diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index c69725d9f0c..b7fc2fc56c8 100644 --- a/drivers/usb/host/ohci-spear.c +++ b/drivers/usb/host/ohci-spear.c | |||
@@ -33,7 +33,7 @@ static void spear_stop_ohci(struct spear_ohci *ohci) | |||
33 | clk_disable_unprepare(ohci->clk); | 33 | clk_disable_unprepare(ohci->clk); |
34 | } | 34 | } |
35 | 35 | ||
36 | static int __devinit ohci_spear_start(struct usb_hcd *hcd) | 36 | static int ohci_spear_start(struct usb_hcd *hcd) |
37 | { | 37 | { |
38 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); | 38 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); |
39 | int ret; | 39 | int ret; |
diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c index 94c6c550a95..5996a3b0a4d 100644 --- a/drivers/usb/host/ohci-tmio.c +++ b/drivers/usb/host/ohci-tmio.c | |||
@@ -184,7 +184,7 @@ static const struct hc_driver ohci_tmio_hc_driver = { | |||
184 | /*-------------------------------------------------------------------------*/ | 184 | /*-------------------------------------------------------------------------*/ |
185 | static struct platform_driver ohci_hcd_tmio_driver; | 185 | static struct platform_driver ohci_hcd_tmio_driver; |
186 | 186 | ||
187 | static int __devinit ohci_hcd_tmio_drv_probe(struct platform_device *dev) | 187 | static int ohci_hcd_tmio_drv_probe(struct platform_device *dev) |
188 | { | 188 | { |
189 | const struct mfd_cell *cell = mfd_get_cell(dev); | 189 | const struct mfd_cell *cell = mfd_get_cell(dev); |
190 | struct resource *regs = platform_get_resource(dev, IORESOURCE_MEM, 0); | 190 | struct resource *regs = platform_get_resource(dev, IORESOURCE_MEM, 0); |
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index 39f9e4a9a2d..a018e706c0e 100644 --- a/drivers/usb/host/pci-quirks.c +++ b/drivers/usb/host/pci-quirks.c | |||
@@ -443,7 +443,7 @@ static inline int io_type_enabled(struct pci_dev *pdev, unsigned int mask) | |||
443 | #define pio_enabled(dev) io_type_enabled(dev, PCI_COMMAND_IO) | 443 | #define pio_enabled(dev) io_type_enabled(dev, PCI_COMMAND_IO) |
444 | #define mmio_enabled(dev) io_type_enabled(dev, PCI_COMMAND_MEMORY) | 444 | #define mmio_enabled(dev) io_type_enabled(dev, PCI_COMMAND_MEMORY) |
445 | 445 | ||
446 | static void __devinit quirk_usb_handoff_uhci(struct pci_dev *pdev) | 446 | static void quirk_usb_handoff_uhci(struct pci_dev *pdev) |
447 | { | 447 | { |
448 | unsigned long base = 0; | 448 | unsigned long base = 0; |
449 | int i; | 449 | int i; |
@@ -461,12 +461,12 @@ static void __devinit quirk_usb_handoff_uhci(struct pci_dev *pdev) | |||
461 | uhci_check_and_reset_hc(pdev, base); | 461 | uhci_check_and_reset_hc(pdev, base); |
462 | } | 462 | } |
463 | 463 | ||
464 | static int __devinit mmio_resource_enabled(struct pci_dev *pdev, int idx) | 464 | static int mmio_resource_enabled(struct pci_dev *pdev, int idx) |
465 | { | 465 | { |
466 | return pci_resource_start(pdev, idx) && mmio_enabled(pdev); | 466 | return pci_resource_start(pdev, idx) && mmio_enabled(pdev); |
467 | } | 467 | } |
468 | 468 | ||
469 | static void __devinit quirk_usb_handoff_ohci(struct pci_dev *pdev) | 469 | static void quirk_usb_handoff_ohci(struct pci_dev *pdev) |
470 | { | 470 | { |
471 | void __iomem *base; | 471 | void __iomem *base; |
472 | u32 control; | 472 | u32 control; |
@@ -558,7 +558,7 @@ static const struct dmi_system_id __devinitconst ehci_dmi_nohandoff_table[] = { | |||
558 | { } | 558 | { } |
559 | }; | 559 | }; |
560 | 560 | ||
561 | static void __devinit ehci_bios_handoff(struct pci_dev *pdev, | 561 | static void ehci_bios_handoff(struct pci_dev *pdev, |
562 | void __iomem *op_reg_base, | 562 | void __iomem *op_reg_base, |
563 | u32 cap, u8 offset) | 563 | u32 cap, u8 offset) |
564 | { | 564 | { |
@@ -626,7 +626,7 @@ static void __devinit ehci_bios_handoff(struct pci_dev *pdev, | |||
626 | writel(0, op_reg_base + EHCI_CONFIGFLAG); | 626 | writel(0, op_reg_base + EHCI_CONFIGFLAG); |
627 | } | 627 | } |
628 | 628 | ||
629 | static void __devinit quirk_usb_disable_ehci(struct pci_dev *pdev) | 629 | static void quirk_usb_disable_ehci(struct pci_dev *pdev) |
630 | { | 630 | { |
631 | void __iomem *base, *op_reg_base; | 631 | void __iomem *base, *op_reg_base; |
632 | u32 hcc_params, cap, val; | 632 | u32 hcc_params, cap, val; |
@@ -841,7 +841,7 @@ EXPORT_SYMBOL_GPL(usb_disable_xhci_ports); | |||
841 | * and then waits 5 seconds for the BIOS to hand over control. | 841 | * and then waits 5 seconds for the BIOS to hand over control. |
842 | * If we timeout, assume the BIOS is broken and take control anyway. | 842 | * If we timeout, assume the BIOS is broken and take control anyway. |
843 | */ | 843 | */ |
844 | static void __devinit quirk_usb_handoff_xhci(struct pci_dev *pdev) | 844 | static void quirk_usb_handoff_xhci(struct pci_dev *pdev) |
845 | { | 845 | { |
846 | void __iomem *base; | 846 | void __iomem *base; |
847 | int ext_cap_offset; | 847 | int ext_cap_offset; |
@@ -941,7 +941,7 @@ hc_init: | |||
941 | iounmap(base); | 941 | iounmap(base); |
942 | } | 942 | } |
943 | 943 | ||
944 | static void __devinit quirk_usb_early_handoff(struct pci_dev *pdev) | 944 | static void quirk_usb_early_handoff(struct pci_dev *pdev) |
945 | { | 945 | { |
946 | /* Skip Netlogic mips SoC's internal PCI USB controller. | 946 | /* Skip Netlogic mips SoC's internal PCI USB controller. |
947 | * This device does not need/support EHCI/OHCI handoff | 947 | * This device does not need/support EHCI/OHCI handoff |
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index 4e0436fc334..e97dfad526f 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
@@ -2405,7 +2405,7 @@ static int __devexit r8a66597_remove(struct platform_device *pdev) | |||
2405 | return 0; | 2405 | return 0; |
2406 | } | 2406 | } |
2407 | 2407 | ||
2408 | static int __devinit r8a66597_probe(struct platform_device *pdev) | 2408 | static int r8a66597_probe(struct platform_device *pdev) |
2409 | { | 2409 | { |
2410 | char clk_name[8]; | 2410 | char clk_name[8]; |
2411 | struct resource *res = NULL, *ires; | 2411 | struct resource *res = NULL, *ires; |
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 15f20de3e05..782127d9dfc 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c | |||
@@ -1618,7 +1618,7 @@ sl811h_remove(struct platform_device *dev) | |||
1618 | return 0; | 1618 | return 0; |
1619 | } | 1619 | } |
1620 | 1620 | ||
1621 | static int __devinit | 1621 | static int |
1622 | sl811h_probe(struct platform_device *dev) | 1622 | sl811h_probe(struct platform_device *dev) |
1623 | { | 1623 | { |
1624 | struct usb_hcd *hcd; | 1624 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/ssb-hcd.c b/drivers/usb/host/ssb-hcd.c index 4dc9a09dc34..79aa95832b2 100644 --- a/drivers/usb/host/ssb-hcd.c +++ b/drivers/usb/host/ssb-hcd.c | |||
@@ -39,7 +39,7 @@ struct ssb_hcd_device { | |||
39 | u32 enable_flags; | 39 | u32 enable_flags; |
40 | }; | 40 | }; |
41 | 41 | ||
42 | static void __devinit ssb_hcd_5354wa(struct ssb_device *dev) | 42 | static void ssb_hcd_5354wa(struct ssb_device *dev) |
43 | { | 43 | { |
44 | #ifdef CONFIG_SSB_DRIVER_MIPS | 44 | #ifdef CONFIG_SSB_DRIVER_MIPS |
45 | /* Work around for 5354 failures */ | 45 | /* Work around for 5354 failures */ |
@@ -53,7 +53,7 @@ static void __devinit ssb_hcd_5354wa(struct ssb_device *dev) | |||
53 | #endif | 53 | #endif |
54 | } | 54 | } |
55 | 55 | ||
56 | static void __devinit ssb_hcd_usb20wa(struct ssb_device *dev) | 56 | static void ssb_hcd_usb20wa(struct ssb_device *dev) |
57 | { | 57 | { |
58 | if (dev->id.coreid == SSB_DEV_USB20_HOST) { | 58 | if (dev->id.coreid == SSB_DEV_USB20_HOST) { |
59 | /* | 59 | /* |
@@ -80,7 +80,7 @@ static void __devinit ssb_hcd_usb20wa(struct ssb_device *dev) | |||
80 | } | 80 | } |
81 | 81 | ||
82 | /* based on arch/mips/brcm-boards/bcm947xx/pcibios.c */ | 82 | /* based on arch/mips/brcm-boards/bcm947xx/pcibios.c */ |
83 | static u32 __devinit ssb_hcd_init_chip(struct ssb_device *dev) | 83 | static u32 ssb_hcd_init_chip(struct ssb_device *dev) |
84 | { | 84 | { |
85 | u32 flags = 0; | 85 | u32 flags = 0; |
86 | 86 | ||
@@ -101,8 +101,7 @@ static const struct usb_ehci_pdata ehci_pdata = { | |||
101 | static const struct usb_ohci_pdata ohci_pdata = { | 101 | static const struct usb_ohci_pdata ohci_pdata = { |
102 | }; | 102 | }; |
103 | 103 | ||
104 | static struct platform_device * __devinit | 104 | static struct platform_device *ssb_hcd_create_pdev(struct ssb_device *dev, bool ohci, u32 addr, u32 len) |
105 | ssb_hcd_create_pdev(struct ssb_device *dev, bool ohci, u32 addr, u32 len) | ||
106 | { | 105 | { |
107 | struct platform_device *hci_dev; | 106 | struct platform_device *hci_dev; |
108 | struct resource hci_res[2]; | 107 | struct resource hci_res[2]; |
@@ -148,7 +147,7 @@ err_alloc: | |||
148 | return ERR_PTR(ret); | 147 | return ERR_PTR(ret); |
149 | } | 148 | } |
150 | 149 | ||
151 | static int __devinit ssb_hcd_probe(struct ssb_device *dev, | 150 | static int ssb_hcd_probe(struct ssb_device *dev, |
152 | const struct ssb_device_id *id) | 151 | const struct ssb_device_id *id) |
153 | { | 152 | { |
154 | int err, tmp; | 153 | int err, tmp; |
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 8836898d64d..8bf78e652a8 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c | |||
@@ -3084,7 +3084,7 @@ static void u132_initialise(struct u132 *u132, struct platform_device *pdev) | |||
3084 | mutex_unlock(&u132->sw_lock); | 3084 | mutex_unlock(&u132->sw_lock); |
3085 | } | 3085 | } |
3086 | 3086 | ||
3087 | static int __devinit u132_probe(struct platform_device *pdev) | 3087 | static int u132_probe(struct platform_device *pdev) |
3088 | { | 3088 | { |
3089 | struct usb_hcd *hcd; | 3089 | struct usb_hcd *hcd; |
3090 | int retval; | 3090 | int retval; |
diff --git a/drivers/usb/host/uhci-grlib.c b/drivers/usb/host/uhci-grlib.c index f7a62138e3e..511bfc46dd7 100644 --- a/drivers/usb/host/uhci-grlib.c +++ b/drivers/usb/host/uhci-grlib.c | |||
@@ -85,7 +85,7 @@ static const struct hc_driver uhci_grlib_hc_driver = { | |||
85 | }; | 85 | }; |
86 | 86 | ||
87 | 87 | ||
88 | static int __devinit uhci_hcd_grlib_probe(struct platform_device *op) | 88 | static int uhci_hcd_grlib_probe(struct platform_device *op) |
89 | { | 89 | { |
90 | struct device_node *dn = op->dev.of_node; | 90 | struct device_node *dn = op->dev.of_node; |
91 | struct usb_hcd *hcd; | 91 | struct usb_hcd *hcd; |
diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c index 68ebf20e151..8c4dace4b14 100644 --- a/drivers/usb/host/uhci-platform.c +++ b/drivers/usb/host/uhci-platform.c | |||
@@ -62,7 +62,7 @@ static const struct hc_driver uhci_platform_hc_driver = { | |||
62 | 62 | ||
63 | static u64 platform_uhci_dma_mask = DMA_BIT_MASK(32); | 63 | static u64 platform_uhci_dma_mask = DMA_BIT_MASK(32); |
64 | 64 | ||
65 | static int __devinit uhci_hcd_platform_probe(struct platform_device *pdev) | 65 | static int uhci_hcd_platform_probe(struct platform_device *pdev) |
66 | { | 66 | { |
67 | struct usb_hcd *hcd; | 67 | struct usb_hcd *hcd; |
68 | struct uhci_hcd *uhci; | 68 | struct uhci_hcd *uhci; |
diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c index 49e8ce7ec26..a27bb851567 100644 --- a/drivers/usb/musb/am35x.c +++ b/drivers/usb/musb/am35x.c | |||
@@ -455,7 +455,7 @@ static const struct musb_platform_ops am35x_ops = { | |||
455 | 455 | ||
456 | static u64 am35x_dmamask = DMA_BIT_MASK(32); | 456 | static u64 am35x_dmamask = DMA_BIT_MASK(32); |
457 | 457 | ||
458 | static int __devinit am35x_probe(struct platform_device *pdev) | 458 | static int am35x_probe(struct platform_device *pdev) |
459 | { | 459 | { |
460 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; | 460 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; |
461 | struct platform_device *musb; | 461 | struct platform_device *musb; |
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c index 7e4d60a4172..12beb0e3114 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c | |||
@@ -448,7 +448,7 @@ static const struct musb_platform_ops bfin_ops = { | |||
448 | 448 | ||
449 | static u64 bfin_dmamask = DMA_BIT_MASK(32); | 449 | static u64 bfin_dmamask = DMA_BIT_MASK(32); |
450 | 450 | ||
451 | static int __devinit bfin_probe(struct platform_device *pdev) | 451 | static int bfin_probe(struct platform_device *pdev) |
452 | { | 452 | { |
453 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; | 453 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; |
454 | struct platform_device *musb; | 454 | struct platform_device *musb; |
diff --git a/drivers/usb/musb/cppi_dma.c b/drivers/usb/musb/cppi_dma.c index 3a6c2fd1f91..0968dd7a859 100644 --- a/drivers/usb/musb/cppi_dma.c +++ b/drivers/usb/musb/cppi_dma.c | |||
@@ -1317,8 +1317,7 @@ irqreturn_t cppi_interrupt(int irq, void *dev_id) | |||
1317 | EXPORT_SYMBOL_GPL(cppi_interrupt); | 1317 | EXPORT_SYMBOL_GPL(cppi_interrupt); |
1318 | 1318 | ||
1319 | /* Instantiate a software object representing a DMA controller. */ | 1319 | /* Instantiate a software object representing a DMA controller. */ |
1320 | struct dma_controller *__devinit | 1320 | struct dma_controller *dma_controller_create(struct musb *musb, void __iomem *mregs) |
1321 | dma_controller_create(struct musb *musb, void __iomem *mregs) | ||
1322 | { | 1321 | { |
1323 | struct cppi *controller; | 1322 | struct cppi *controller; |
1324 | struct device *dev = musb->controller; | 1323 | struct device *dev = musb->controller; |
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c index 51ace9bf73d..c4fb235985b 100644 --- a/drivers/usb/musb/da8xx.c +++ b/drivers/usb/musb/da8xx.c | |||
@@ -471,7 +471,7 @@ static const struct musb_platform_ops da8xx_ops = { | |||
471 | 471 | ||
472 | static u64 da8xx_dmamask = DMA_BIT_MASK(32); | 472 | static u64 da8xx_dmamask = DMA_BIT_MASK(32); |
473 | 473 | ||
474 | static int __devinit da8xx_probe(struct platform_device *pdev) | 474 | static int da8xx_probe(struct platform_device *pdev) |
475 | { | 475 | { |
476 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; | 476 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; |
477 | struct platform_device *musb; | 477 | struct platform_device *musb; |
diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c index e01087b44e0..8877c1a7dbb 100644 --- a/drivers/usb/musb/davinci.c +++ b/drivers/usb/musb/davinci.c | |||
@@ -504,7 +504,7 @@ static const struct musb_platform_ops davinci_ops = { | |||
504 | 504 | ||
505 | static u64 davinci_dmamask = DMA_BIT_MASK(32); | 505 | static u64 davinci_dmamask = DMA_BIT_MASK(32); |
506 | 506 | ||
507 | static int __devinit davinci_probe(struct platform_device *pdev) | 507 | static int davinci_probe(struct platform_device *pdev) |
508 | { | 508 | { |
509 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; | 509 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; |
510 | struct platform_device *musb; | 510 | struct platform_device *musb; |
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 69cfa18bb2d..f17a3e79dbe 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c | |||
@@ -1163,7 +1163,7 @@ static struct musb_fifo_cfg __devinitdata mode_5_cfg[] = { | |||
1163 | * | 1163 | * |
1164 | * returns negative errno or offset for next fifo. | 1164 | * returns negative errno or offset for next fifo. |
1165 | */ | 1165 | */ |
1166 | static int __devinit | 1166 | static int |
1167 | fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, | 1167 | fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, |
1168 | const struct musb_fifo_cfg *cfg, u16 offset) | 1168 | const struct musb_fifo_cfg *cfg, u16 offset) |
1169 | { | 1169 | { |
@@ -1238,7 +1238,7 @@ static struct musb_fifo_cfg __devinitdata ep0_cfg = { | |||
1238 | .style = FIFO_RXTX, .maxpacket = 64, | 1238 | .style = FIFO_RXTX, .maxpacket = 64, |
1239 | }; | 1239 | }; |
1240 | 1240 | ||
1241 | static int __devinit ep_config_from_table(struct musb *musb) | 1241 | static int ep_config_from_table(struct musb *musb) |
1242 | { | 1242 | { |
1243 | const struct musb_fifo_cfg *cfg; | 1243 | const struct musb_fifo_cfg *cfg; |
1244 | unsigned i, n; | 1244 | unsigned i, n; |
@@ -1329,7 +1329,7 @@ done: | |||
1329 | * ep_config_from_hw - when MUSB_C_DYNFIFO_DEF is false | 1329 | * ep_config_from_hw - when MUSB_C_DYNFIFO_DEF is false |
1330 | * @param musb the controller | 1330 | * @param musb the controller |
1331 | */ | 1331 | */ |
1332 | static int __devinit ep_config_from_hw(struct musb *musb) | 1332 | static int ep_config_from_hw(struct musb *musb) |
1333 | { | 1333 | { |
1334 | u8 epnum = 0; | 1334 | u8 epnum = 0; |
1335 | struct musb_hw_ep *hw_ep; | 1335 | struct musb_hw_ep *hw_ep; |
@@ -1376,7 +1376,7 @@ enum { MUSB_CONTROLLER_MHDRC, MUSB_CONTROLLER_HDRC, }; | |||
1376 | /* Initialize MUSB (M)HDRC part of the USB hardware subsystem; | 1376 | /* Initialize MUSB (M)HDRC part of the USB hardware subsystem; |
1377 | * configure endpoints, or take their config from silicon | 1377 | * configure endpoints, or take their config from silicon |
1378 | */ | 1378 | */ |
1379 | static int __devinit musb_core_init(u16 musb_type, struct musb *musb) | 1379 | static int musb_core_init(u16 musb_type, struct musb *musb) |
1380 | { | 1380 | { |
1381 | u8 reg; | 1381 | u8 reg; |
1382 | char *type; | 1382 | char *type; |
@@ -1759,8 +1759,7 @@ static void musb_irq_work(struct work_struct *data) | |||
1759 | * Init support | 1759 | * Init support |
1760 | */ | 1760 | */ |
1761 | 1761 | ||
1762 | static struct musb *__devinit | 1762 | static struct musb *allocate_instance(struct device *dev, |
1763 | allocate_instance(struct device *dev, | ||
1764 | struct musb_hdrc_config *config, void __iomem *mbase) | 1763 | struct musb_hdrc_config *config, void __iomem *mbase) |
1765 | { | 1764 | { |
1766 | struct musb *musb; | 1765 | struct musb *musb; |
@@ -1835,7 +1834,7 @@ static void musb_free(struct musb *musb) | |||
1835 | * @ctrl: virtual address of controller registers, | 1834 | * @ctrl: virtual address of controller registers, |
1836 | * not yet corrected for platform-specific offsets | 1835 | * not yet corrected for platform-specific offsets |
1837 | */ | 1836 | */ |
1838 | static int __devinit | 1837 | static int |
1839 | musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl) | 1838 | musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl) |
1840 | { | 1839 | { |
1841 | int status; | 1840 | int status; |
@@ -2010,7 +2009,7 @@ fail0: | |||
2010 | /* all implementations (PCI bridge to FPGA, VLYNQ, etc) should just | 2009 | /* all implementations (PCI bridge to FPGA, VLYNQ, etc) should just |
2011 | * bridge to a platform device; this driver then suffices. | 2010 | * bridge to a platform device; this driver then suffices. |
2012 | */ | 2011 | */ |
2013 | static int __devinit musb_probe(struct platform_device *pdev) | 2012 | static int musb_probe(struct platform_device *pdev) |
2014 | { | 2013 | { |
2015 | struct device *dev = &pdev->dev; | 2014 | struct device *dev = &pdev->dev; |
2016 | int irq = platform_get_irq_byname(pdev, "mc"); | 2015 | int irq = platform_get_irq_byname(pdev, "mc"); |
diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c index 1d6e8af94c0..4c216790e86 100644 --- a/drivers/usb/musb/musb_debugfs.c +++ b/drivers/usb/musb/musb_debugfs.c | |||
@@ -233,7 +233,7 @@ static const struct file_operations musb_test_mode_fops = { | |||
233 | .release = single_release, | 233 | .release = single_release, |
234 | }; | 234 | }; |
235 | 235 | ||
236 | int __devinit musb_init_debugfs(struct musb *musb) | 236 | int musb_init_debugfs(struct musb *musb) |
237 | { | 237 | { |
238 | struct dentry *root; | 238 | struct dentry *root; |
239 | struct dentry *file; | 239 | struct dentry *file; |
diff --git a/drivers/usb/musb/musb_dma.h b/drivers/usb/musb/musb_dma.h index 24d39210d4a..1b6b827b769 100644 --- a/drivers/usb/musb/musb_dma.h +++ b/drivers/usb/musb/musb_dma.h | |||
@@ -178,8 +178,7 @@ struct dma_controller { | |||
178 | extern void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit); | 178 | extern void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit); |
179 | 179 | ||
180 | 180 | ||
181 | extern struct dma_controller *__devinit | 181 | extern struct dma_controller *dma_controller_create(struct musb *, void __iomem *); |
182 | dma_controller_create(struct musb *, void __iomem *); | ||
183 | 182 | ||
184 | extern void dma_controller_destroy(struct dma_controller *); | 183 | extern void dma_controller_destroy(struct dma_controller *); |
185 | 184 | ||
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 80e2b03965c..f8affd7a30c 100644 --- a/drivers/usb/musb/musb_dsps.c +++ b/drivers/usb/musb/musb_dsps.c | |||
@@ -479,7 +479,7 @@ static struct musb_platform_ops dsps_ops = { | |||
479 | 479 | ||
480 | static u64 musb_dmamask = DMA_BIT_MASK(32); | 480 | static u64 musb_dmamask = DMA_BIT_MASK(32); |
481 | 481 | ||
482 | static int __devinit dsps_create_musb_pdev(struct dsps_glue *glue, u8 id) | 482 | static int dsps_create_musb_pdev(struct dsps_glue *glue, u8 id) |
483 | { | 483 | { |
484 | struct device *dev = glue->dev; | 484 | struct device *dev = glue->dev; |
485 | struct platform_device *pdev = to_platform_device(dev); | 485 | struct platform_device *pdev = to_platform_device(dev); |
@@ -592,7 +592,7 @@ err0: | |||
592 | return ret; | 592 | return ret; |
593 | } | 593 | } |
594 | 594 | ||
595 | static int __devinit dsps_probe(struct platform_device *pdev) | 595 | static int dsps_probe(struct platform_device *pdev) |
596 | { | 596 | { |
597 | struct device_node *np = pdev->dev.of_node; | 597 | struct device_node *np = pdev->dev.of_node; |
598 | const struct of_device_id *match; | 598 | const struct of_device_id *match; |
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 4f23b12a3ae..876787438c2 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -1787,7 +1787,7 @@ static void musb_gadget_release(struct device *dev) | |||
1787 | } | 1787 | } |
1788 | 1788 | ||
1789 | 1789 | ||
1790 | static void __devinit | 1790 | static void |
1791 | init_peripheral_ep(struct musb *musb, struct musb_ep *ep, u8 epnum, int is_in) | 1791 | init_peripheral_ep(struct musb *musb, struct musb_ep *ep, u8 epnum, int is_in) |
1792 | { | 1792 | { |
1793 | struct musb_hw_ep *hw_ep = musb->endpoints + epnum; | 1793 | struct musb_hw_ep *hw_ep = musb->endpoints + epnum; |
@@ -1824,7 +1824,7 @@ init_peripheral_ep(struct musb *musb, struct musb_ep *ep, u8 epnum, int is_in) | |||
1824 | * Initialize the endpoints exposed to peripheral drivers, with backlinks | 1824 | * Initialize the endpoints exposed to peripheral drivers, with backlinks |
1825 | * to the rest of the driver state. | 1825 | * to the rest of the driver state. |
1826 | */ | 1826 | */ |
1827 | static inline void __devinit musb_g_init_endpoints(struct musb *musb) | 1827 | static inline void musb_g_init_endpoints(struct musb *musb) |
1828 | { | 1828 | { |
1829 | u8 epnum; | 1829 | u8 epnum; |
1830 | struct musb_hw_ep *hw_ep; | 1830 | struct musb_hw_ep *hw_ep; |
@@ -1857,7 +1857,7 @@ static inline void __devinit musb_g_init_endpoints(struct musb *musb) | |||
1857 | /* called once during driver setup to initialize and link into | 1857 | /* called once during driver setup to initialize and link into |
1858 | * the driver model; memory is zeroed. | 1858 | * the driver model; memory is zeroed. |
1859 | */ | 1859 | */ |
1860 | int __devinit musb_gadget_setup(struct musb *musb) | 1860 | int musb_gadget_setup(struct musb *musb) |
1861 | { | 1861 | { |
1862 | int status; | 1862 | int status; |
1863 | 1863 | ||
diff --git a/drivers/usb/musb/musbhsdma.c b/drivers/usb/musb/musbhsdma.c index 0fc6ca6bc60..3d1fd52a15a 100644 --- a/drivers/usb/musb/musbhsdma.c +++ b/drivers/usb/musb/musbhsdma.c | |||
@@ -380,8 +380,7 @@ void dma_controller_destroy(struct dma_controller *c) | |||
380 | kfree(controller); | 380 | kfree(controller); |
381 | } | 381 | } |
382 | 382 | ||
383 | struct dma_controller *__devinit | 383 | struct dma_controller *dma_controller_create(struct musb *musb, void __iomem *base) |
384 | dma_controller_create(struct musb *musb, void __iomem *base) | ||
385 | { | 384 | { |
386 | struct musb_dma_controller *controller; | 385 | struct musb_dma_controller *controller; |
387 | struct device *dev = musb->controller; | 386 | struct device *dev = musb->controller; |
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 1150b4b6a09..06850f22739 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c | |||
@@ -490,7 +490,7 @@ static const struct musb_platform_ops omap2430_ops = { | |||
490 | 490 | ||
491 | static u64 omap2430_dmamask = DMA_BIT_MASK(32); | 491 | static u64 omap2430_dmamask = DMA_BIT_MASK(32); |
492 | 492 | ||
493 | static int __devinit omap2430_probe(struct platform_device *pdev) | 493 | static int omap2430_probe(struct platform_device *pdev) |
494 | { | 494 | { |
495 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; | 495 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; |
496 | struct omap_musb_board_data *data; | 496 | struct omap_musb_board_data *data; |
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index b816517d8cb..a03b7befd2e 100644 --- a/drivers/usb/musb/tusb6010.c +++ b/drivers/usb/musb/tusb6010.c | |||
@@ -1153,7 +1153,7 @@ static const struct musb_platform_ops tusb_ops = { | |||
1153 | 1153 | ||
1154 | static u64 tusb_dmamask = DMA_BIT_MASK(32); | 1154 | static u64 tusb_dmamask = DMA_BIT_MASK(32); |
1155 | 1155 | ||
1156 | static int __devinit tusb_probe(struct platform_device *pdev) | 1156 | static int tusb_probe(struct platform_device *pdev) |
1157 | { | 1157 | { |
1158 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; | 1158 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; |
1159 | struct platform_device *musb; | 1159 | struct platform_device *musb; |
diff --git a/drivers/usb/musb/tusb6010_omap.c b/drivers/usb/musb/tusb6010_omap.c index 7a62b95dac2..2c46d42e661 100644 --- a/drivers/usb/musb/tusb6010_omap.c +++ b/drivers/usb/musb/tusb6010_omap.c | |||
@@ -661,8 +661,7 @@ void dma_controller_destroy(struct dma_controller *c) | |||
661 | kfree(tusb_dma); | 661 | kfree(tusb_dma); |
662 | } | 662 | } |
663 | 663 | ||
664 | struct dma_controller *__devinit | 664 | struct dma_controller *dma_controller_create(struct musb *musb, void __iomem *base) |
665 | dma_controller_create(struct musb *musb, void __iomem *base) | ||
666 | { | 665 | { |
667 | void __iomem *tbase = musb->ctrl_base; | 666 | void __iomem *tbase = musb->ctrl_base; |
668 | struct tusb_omap_dma *tusb_dma; | 667 | struct tusb_omap_dma *tusb_dma; |
diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c index 1d815578dde..6b12001eb88 100644 --- a/drivers/usb/musb/ux500.c +++ b/drivers/usb/musb/ux500.c | |||
@@ -81,7 +81,7 @@ static const struct musb_platform_ops ux500_ops = { | |||
81 | .exit = ux500_musb_exit, | 81 | .exit = ux500_musb_exit, |
82 | }; | 82 | }; |
83 | 83 | ||
84 | static int __devinit ux500_probe(struct platform_device *pdev) | 84 | static int ux500_probe(struct platform_device *pdev) |
85 | { | 85 | { |
86 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; | 86 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; |
87 | struct platform_device *musb; | 87 | struct platform_device *musb; |
diff --git a/drivers/usb/musb/ux500_dma.c b/drivers/usb/musb/ux500_dma.c index f1059e725ea..039e567dd3b 100644 --- a/drivers/usb/musb/ux500_dma.c +++ b/drivers/usb/musb/ux500_dma.c | |||
@@ -364,8 +364,7 @@ void dma_controller_destroy(struct dma_controller *c) | |||
364 | kfree(controller); | 364 | kfree(controller); |
365 | } | 365 | } |
366 | 366 | ||
367 | struct dma_controller *__devinit | 367 | struct dma_controller *dma_controller_create(struct musb *musb, void __iomem *base) |
368 | dma_controller_create(struct musb *musb, void __iomem *base) | ||
369 | { | 368 | { |
370 | struct ux500_dma_controller *controller; | 369 | struct ux500_dma_controller *controller; |
371 | struct platform_device *pdev = to_platform_device(musb->controller); | 370 | struct platform_device *pdev = to_platform_device(musb->controller); |
diff --git a/drivers/usb/otg/ab8500-usb.c b/drivers/usb/otg/ab8500-usb.c index 62ea0c23c45..f0ba931f0d5 100644 --- a/drivers/usb/otg/ab8500-usb.c +++ b/drivers/usb/otg/ab8500-usb.c | |||
@@ -468,7 +468,7 @@ static int ab8500_usb_v2_res_setup(struct platform_device *pdev, | |||
468 | return 0; | 468 | return 0; |
469 | } | 469 | } |
470 | 470 | ||
471 | static int __devinit ab8500_usb_probe(struct platform_device *pdev) | 471 | static int ab8500_usb_probe(struct platform_device *pdev) |
472 | { | 472 | { |
473 | struct ab8500_usb *ab; | 473 | struct ab8500_usb *ab; |
474 | struct usb_otg *otg; | 474 | struct usb_otg *otg; |
diff --git a/drivers/usb/otg/fsl_otg.c b/drivers/usb/otg/fsl_otg.c index 77dad188d2d..2b9a83856a5 100644 --- a/drivers/usb/otg/fsl_otg.c +++ b/drivers/usb/otg/fsl_otg.c | |||
@@ -1110,7 +1110,7 @@ static const struct file_operations otg_fops = { | |||
1110 | .release = fsl_otg_release, | 1110 | .release = fsl_otg_release, |
1111 | }; | 1111 | }; |
1112 | 1112 | ||
1113 | static int __devinit fsl_otg_probe(struct platform_device *pdev) | 1113 | static int fsl_otg_probe(struct platform_device *pdev) |
1114 | { | 1114 | { |
1115 | int ret; | 1115 | int ret; |
1116 | 1116 | ||
diff --git a/drivers/usb/otg/isp1301_omap.c b/drivers/usb/otg/isp1301_omap.c index ceee2119bff..af9cb11626b 100644 --- a/drivers/usb/otg/isp1301_omap.c +++ b/drivers/usb/otg/isp1301_omap.c | |||
@@ -1493,7 +1493,7 @@ isp1301_start_hnp(struct usb_otg *otg) | |||
1493 | 1493 | ||
1494 | /*-------------------------------------------------------------------------*/ | 1494 | /*-------------------------------------------------------------------------*/ |
1495 | 1495 | ||
1496 | static int __devinit | 1496 | static int |
1497 | isp1301_probe(struct i2c_client *i2c, const struct i2c_device_id *id) | 1497 | isp1301_probe(struct i2c_client *i2c, const struct i2c_device_id *id) |
1498 | { | 1498 | { |
1499 | int status; | 1499 | int status; |
diff --git a/drivers/usb/otg/nop-usb-xceiv.c b/drivers/usb/otg/nop-usb-xceiv.c index 0502c240591..28f70e21ad6 100644 --- a/drivers/usb/otg/nop-usb-xceiv.c +++ b/drivers/usb/otg/nop-usb-xceiv.c | |||
@@ -93,7 +93,7 @@ static int nop_set_host(struct usb_otg *otg, struct usb_bus *host) | |||
93 | return 0; | 93 | return 0; |
94 | } | 94 | } |
95 | 95 | ||
96 | static int __devinit nop_usb_xceiv_probe(struct platform_device *pdev) | 96 | static int nop_usb_xceiv_probe(struct platform_device *pdev) |
97 | { | 97 | { |
98 | struct nop_usb_xceiv_platform_data *pdata = pdev->dev.platform_data; | 98 | struct nop_usb_xceiv_platform_data *pdata = pdev->dev.platform_data; |
99 | struct nop_usb_xceiv *nop; | 99 | struct nop_usb_xceiv *nop; |
diff --git a/drivers/usb/otg/twl4030-usb.c b/drivers/usb/otg/twl4030-usb.c index 11b2a1203d4..0a701938ab5 100644 --- a/drivers/usb/otg/twl4030-usb.c +++ b/drivers/usb/otg/twl4030-usb.c | |||
@@ -575,7 +575,7 @@ static int twl4030_set_host(struct usb_otg *otg, struct usb_bus *host) | |||
575 | return 0; | 575 | return 0; |
576 | } | 576 | } |
577 | 577 | ||
578 | static int __devinit twl4030_usb_probe(struct platform_device *pdev) | 578 | static int twl4030_usb_probe(struct platform_device *pdev) |
579 | { | 579 | { |
580 | struct twl4030_usb_data *pdata = pdev->dev.platform_data; | 580 | struct twl4030_usb_data *pdata = pdev->dev.platform_data; |
581 | struct twl4030_usb *twl; | 581 | struct twl4030_usb *twl; |
diff --git a/drivers/usb/otg/twl6030-usb.c b/drivers/usb/otg/twl6030-usb.c index fcadef7864f..8cd6cf49bdb 100644 --- a/drivers/usb/otg/twl6030-usb.c +++ b/drivers/usb/otg/twl6030-usb.c | |||
@@ -310,7 +310,7 @@ static int twl6030_set_vbus(struct phy_companion *comparator, bool enabled) | |||
310 | return 0; | 310 | return 0; |
311 | } | 311 | } |
312 | 312 | ||
313 | static int __devinit twl6030_usb_probe(struct platform_device *pdev) | 313 | static int twl6030_usb_probe(struct platform_device *pdev) |
314 | { | 314 | { |
315 | u32 ret; | 315 | u32 ret; |
316 | struct twl6030_usb *twl; | 316 | struct twl6030_usb *twl; |
diff --git a/drivers/usb/phy/mv_u3d_phy.c b/drivers/usb/phy/mv_u3d_phy.c index 80cf57ef550..eaddbe3d430 100644 --- a/drivers/usb/phy/mv_u3d_phy.c +++ b/drivers/usb/phy/mv_u3d_phy.c | |||
@@ -262,7 +262,7 @@ calstart: | |||
262 | return 0; | 262 | return 0; |
263 | } | 263 | } |
264 | 264 | ||
265 | static int __devinit mv_u3d_phy_probe(struct platform_device *pdev) | 265 | static int mv_u3d_phy_probe(struct platform_device *pdev) |
266 | { | 266 | { |
267 | struct mv_u3d_phy *mv_u3d_phy; | 267 | struct mv_u3d_phy *mv_u3d_phy; |
268 | struct mv_usb_platform_data *pdata; | 268 | struct mv_usb_platform_data *pdata; |
diff --git a/drivers/usb/phy/omap-usb2.c b/drivers/usb/phy/omap-usb2.c index f1ed872dd96..c10fb8b1fdb 100644 --- a/drivers/usb/phy/omap-usb2.c +++ b/drivers/usb/phy/omap-usb2.c | |||
@@ -141,7 +141,7 @@ static int omap_usb2_suspend(struct usb_phy *x, int suspend) | |||
141 | return 0; | 141 | return 0; |
142 | } | 142 | } |
143 | 143 | ||
144 | static int __devinit omap_usb2_probe(struct platform_device *pdev) | 144 | static int omap_usb2_probe(struct platform_device *pdev) |
145 | { | 145 | { |
146 | struct omap_usb *phy; | 146 | struct omap_usb *phy; |
147 | struct usb_otg *otg; | 147 | struct usb_otg *otg; |
diff --git a/drivers/usb/phy/rcar-phy.c b/drivers/usb/phy/rcar-phy.c index 703a29586a7..84ac2a77de7 100644 --- a/drivers/usb/phy/rcar-phy.c +++ b/drivers/usb/phy/rcar-phy.c | |||
@@ -142,7 +142,7 @@ static void rcar_usb_phy_shutdown(struct usb_phy *phy) | |||
142 | spin_unlock_irqrestore(&priv->lock, flags); | 142 | spin_unlock_irqrestore(&priv->lock, flags); |
143 | } | 143 | } |
144 | 144 | ||
145 | static int __devinit rcar_usb_phy_probe(struct platform_device *pdev) | 145 | static int rcar_usb_phy_probe(struct platform_device *pdev) |
146 | { | 146 | { |
147 | struct rcar_usb_phy_priv *priv; | 147 | struct rcar_usb_phy_priv *priv; |
148 | struct resource *res0, *res1; | 148 | struct resource *res0, *res1; |