diff options
Diffstat (limited to 'drivers/usb/host')
39 files changed, 69 insertions, 71 deletions
diff --git a/drivers/usb/host/bcma-hcd.c b/drivers/usb/host/bcma-hcd.c index f5143a066add..8c83ed90acba 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 33f798ec1c7d..96bf00d32614 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 da4269550fba..1fc89292f5d6 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 96da679becef..f74794c93152 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 b807648876be..615cba016a6f 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 fa937d05a02b..45aceefd0c2b 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 45a356e9f138..df5925a4f0db 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 f90a8815f4a8..2cf19d1ab4bf 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 7bcb8b2863de..bf8d462c26ac 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 6a3f921a5d76..4f285e8e404a 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 92f4b99a3ab2..618f143748a5 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 3a5c82f67232..dc0aeba35c9b 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 f19e2690c232..bd6a7447ccc9 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 9e65e3091c8a..b64e661618bb 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 1ad9d2007222..5f8b63ce4bef 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 5fb3caee7706..d752a4c4281a 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 e4480029bc0c..ff94a7479a75 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 a982f04ed787..8704e9fa5a80 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 2f673e872b7d..1288cdb3137c 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 b4921b713557..59feb8738132 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 e068f034cb9b..2344040c16d2 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 d469bf9b9e54..d44430d009f8 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 6bee6f191c86..b2398aa6c7a2 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 6afa7dc4e4c3..951514ef446d 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 ffe6c9808473..c3f76fa8d7dc 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 e27d5ae2b9eb..64c2ed9ff95e 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 2ee1d8d713d2..7d35cd9e2862 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 156d289d3bb5..efe71f3ca477 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 5c5c017850d8..4f29e0b086b3 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 b6cc92520924..17b2a7dad77b 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 c69725d9f0cd..b7fc2fc56c84 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 94c6c550a953..5996a3b0a4d3 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 39f9e4a9a2d3..a018e706c0e1 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 4e0436fc334d..e97dfad526f4 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 15f20de3e05d..782127d9dfc5 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 4dc9a09dc346..79aa95832b26 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 8836898d64de..8bf78e652a8a 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 f7a62138e3e0..511bfc46dd78 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 68ebf20e1519..8c4dace4b14a 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; |