diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:24:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 16:27:16 -0500 |
commit | d3608b6dafc570bb671c3338288eb2523f8cd52a (patch) | |
tree | 53f43d90a69c17a873c5d50d15d30a9595aa06b1 /drivers | |
parent | 41ac7b3ab7fe1d6175839947a877fdf95cbd2211 (diff) |
usb: remove use of __devinitdata
CONFIG_HOTPLUG is going away as an option so __devinitdata is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/chipidea/ci13xxx_imx.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/net2272.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/ehci-spear.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/fsl-mph-dr-of.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/ohci-spear.c | 2 | ||||
-rw-r--r-- | drivers/usb/musb/musb_core.c | 22 |
7 files changed, 17 insertions, 17 deletions
diff --git a/drivers/usb/chipidea/ci13xxx_imx.c b/drivers/usb/chipidea/ci13xxx_imx.c index 424bff913527..126978038f7a 100644 --- a/drivers/usb/chipidea/ci13xxx_imx.c +++ b/drivers/usb/chipidea/ci13xxx_imx.c | |||
@@ -85,7 +85,7 @@ EXPORT_SYMBOL_GPL(usbmisc_get_init_data); | |||
85 | 85 | ||
86 | /* End of common functions shared by usbmisc drivers*/ | 86 | /* End of common functions shared by usbmisc drivers*/ |
87 | 87 | ||
88 | static struct ci13xxx_platform_data ci13xxx_imx_platdata __devinitdata = { | 88 | static struct ci13xxx_platform_data ci13xxx_imx_platdata = { |
89 | .name = "ci13xxx_imx", | 89 | .name = "ci13xxx_imx", |
90 | .flags = CI13XXX_REQUIRE_TRANSCEIVER | | 90 | .flags = CI13XXX_REQUIRE_TRANSCEIVER | |
91 | CI13XXX_PULLUP_ON_VBUS | | 91 | CI13XXX_PULLUP_ON_VBUS | |
diff --git a/drivers/usb/gadget/net2272.c b/drivers/usb/gadget/net2272.c index f0103dd2a102..a20acc14e694 100644 --- a/drivers/usb/gadget/net2272.c +++ b/drivers/usb/gadget/net2272.c | |||
@@ -2548,7 +2548,7 @@ net2272_pci_remove(struct pci_dev *pdev) | |||
2548 | } | 2548 | } |
2549 | 2549 | ||
2550 | /* Table of matching PCI IDs */ | 2550 | /* Table of matching PCI IDs */ |
2551 | static struct pci_device_id __devinitdata pci_ids[] = { | 2551 | static struct pci_device_id pci_ids[] = { |
2552 | { /* RDK 1 card */ | 2552 | { /* RDK 1 card */ |
2553 | .class = ((PCI_CLASS_BRIDGE_OTHER << 8) | 0xfe), | 2553 | .class = ((PCI_CLASS_BRIDGE_OTHER << 8) | 0xfe), |
2554 | .class_mask = 0, | 2554 | .class_mask = 0, |
diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c index 3fadff8f8d30..466c1bb5b967 100644 --- a/drivers/usb/host/ehci-spear.c +++ b/drivers/usb/host/ehci-spear.c | |||
@@ -199,7 +199,7 @@ static int spear_ehci_hcd_drv_remove(struct platform_device *pdev) | |||
199 | return 0; | 199 | return 0; |
200 | } | 200 | } |
201 | 201 | ||
202 | static struct of_device_id spear_ehci_id_table[] __devinitdata = { | 202 | static struct of_device_id spear_ehci_id_table[] = { |
203 | { .compatible = "st,spear600-ehci", }, | 203 | { .compatible = "st,spear600-ehci", }, |
204 | { }, | 204 | { }, |
205 | }; | 205 | }; |
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index ef0a6ef7875b..acf17556bd87 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c | |||
@@ -805,7 +805,7 @@ static void tegra_ehci_hcd_shutdown(struct platform_device *pdev) | |||
805 | hcd->driver->shutdown(hcd); | 805 | hcd->driver->shutdown(hcd); |
806 | } | 806 | } |
807 | 807 | ||
808 | static struct of_device_id tegra_ehci_of_match[] __devinitdata = { | 808 | static struct of_device_id tegra_ehci_of_match[] = { |
809 | { .compatible = "nvidia,tegra20-ehci", }, | 809 | { .compatible = "nvidia,tegra20-ehci", }, |
810 | { }, | 810 | { }, |
811 | }; | 811 | }; |
diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c index dc0aeba35c9b..5faf796fc6ca 100644 --- a/drivers/usb/host/fsl-mph-dr-of.c +++ b/drivers/usb/host/fsl-mph-dr-of.c | |||
@@ -24,7 +24,7 @@ struct fsl_usb2_dev_data { | |||
24 | enum fsl_usb2_operating_modes op_mode; /* operating mode */ | 24 | enum fsl_usb2_operating_modes op_mode; /* operating mode */ |
25 | }; | 25 | }; |
26 | 26 | ||
27 | struct fsl_usb2_dev_data dr_mode_data[] __devinitdata = { | 27 | struct fsl_usb2_dev_data dr_mode_data[] = { |
28 | { | 28 | { |
29 | .dr_mode = "host", | 29 | .dr_mode = "host", |
30 | .drivers = { "fsl-ehci", NULL, NULL, }, | 30 | .drivers = { "fsl-ehci", NULL, NULL, }, |
diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index b7fc2fc56c84..9020bf0e2eca 100644 --- a/drivers/usb/host/ohci-spear.c +++ b/drivers/usb/host/ohci-spear.c | |||
@@ -216,7 +216,7 @@ static int spear_ohci_hcd_drv_resume(struct platform_device *dev) | |||
216 | } | 216 | } |
217 | #endif | 217 | #endif |
218 | 218 | ||
219 | static struct of_device_id spear_ohci_id_table[] __devinitdata = { | 219 | static struct of_device_id spear_ohci_id_table[] = { |
220 | { .compatible = "st,spear600-ohci", }, | 220 | { .compatible = "st,spear600-ohci", }, |
221 | { }, | 221 | { }, |
222 | }; | 222 | }; |
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index f17a3e79dbec..a332bb81aa38 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c | |||
@@ -1040,12 +1040,12 @@ static void musb_shutdown(struct platform_device *pdev) | |||
1040 | || defined(CONFIG_USB_MUSB_AM35X_MODULE) \ | 1040 | || defined(CONFIG_USB_MUSB_AM35X_MODULE) \ |
1041 | || defined(CONFIG_USB_MUSB_DSPS) \ | 1041 | || defined(CONFIG_USB_MUSB_DSPS) \ |
1042 | || defined(CONFIG_USB_MUSB_DSPS_MODULE) | 1042 | || defined(CONFIG_USB_MUSB_DSPS_MODULE) |
1043 | static ushort __devinitdata fifo_mode = 4; | 1043 | static ushort fifo_mode = 4; |
1044 | #elif defined(CONFIG_USB_MUSB_UX500) \ | 1044 | #elif defined(CONFIG_USB_MUSB_UX500) \ |
1045 | || defined(CONFIG_USB_MUSB_UX500_MODULE) | 1045 | || defined(CONFIG_USB_MUSB_UX500_MODULE) |
1046 | static ushort __devinitdata fifo_mode = 5; | 1046 | static ushort fifo_mode = 5; |
1047 | #else | 1047 | #else |
1048 | static ushort __devinitdata fifo_mode = 2; | 1048 | static ushort fifo_mode = 2; |
1049 | #endif | 1049 | #endif |
1050 | 1050 | ||
1051 | /* "modprobe ... fifo_mode=1" etc */ | 1051 | /* "modprobe ... fifo_mode=1" etc */ |
@@ -1058,7 +1058,7 @@ MODULE_PARM_DESC(fifo_mode, "initial endpoint configuration"); | |||
1058 | */ | 1058 | */ |
1059 | 1059 | ||
1060 | /* mode 0 - fits in 2KB */ | 1060 | /* mode 0 - fits in 2KB */ |
1061 | static struct musb_fifo_cfg __devinitdata mode_0_cfg[] = { | 1061 | static struct musb_fifo_cfg mode_0_cfg[] = { |
1062 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, | 1062 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, |
1063 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, | 1063 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, |
1064 | { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, }, | 1064 | { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, }, |
@@ -1067,7 +1067,7 @@ static struct musb_fifo_cfg __devinitdata mode_0_cfg[] = { | |||
1067 | }; | 1067 | }; |
1068 | 1068 | ||
1069 | /* mode 1 - fits in 4KB */ | 1069 | /* mode 1 - fits in 4KB */ |
1070 | static struct musb_fifo_cfg __devinitdata mode_1_cfg[] = { | 1070 | static struct musb_fifo_cfg mode_1_cfg[] = { |
1071 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, .mode = BUF_DOUBLE, }, | 1071 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, .mode = BUF_DOUBLE, }, |
1072 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, .mode = BUF_DOUBLE, }, | 1072 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, .mode = BUF_DOUBLE, }, |
1073 | { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, .mode = BUF_DOUBLE, }, | 1073 | { .hw_ep_num = 2, .style = FIFO_RXTX, .maxpacket = 512, .mode = BUF_DOUBLE, }, |
@@ -1076,7 +1076,7 @@ static struct musb_fifo_cfg __devinitdata mode_1_cfg[] = { | |||
1076 | }; | 1076 | }; |
1077 | 1077 | ||
1078 | /* mode 2 - fits in 4KB */ | 1078 | /* mode 2 - fits in 4KB */ |
1079 | static struct musb_fifo_cfg __devinitdata mode_2_cfg[] = { | 1079 | static struct musb_fifo_cfg mode_2_cfg[] = { |
1080 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, | 1080 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, |
1081 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, | 1081 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, |
1082 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, | 1082 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, |
@@ -1086,7 +1086,7 @@ static struct musb_fifo_cfg __devinitdata mode_2_cfg[] = { | |||
1086 | }; | 1086 | }; |
1087 | 1087 | ||
1088 | /* mode 3 - fits in 4KB */ | 1088 | /* mode 3 - fits in 4KB */ |
1089 | static struct musb_fifo_cfg __devinitdata mode_3_cfg[] = { | 1089 | static struct musb_fifo_cfg mode_3_cfg[] = { |
1090 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, .mode = BUF_DOUBLE, }, | 1090 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, .mode = BUF_DOUBLE, }, |
1091 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, .mode = BUF_DOUBLE, }, | 1091 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, .mode = BUF_DOUBLE, }, |
1092 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, | 1092 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, |
@@ -1096,7 +1096,7 @@ static struct musb_fifo_cfg __devinitdata mode_3_cfg[] = { | |||
1096 | }; | 1096 | }; |
1097 | 1097 | ||
1098 | /* mode 4 - fits in 16KB */ | 1098 | /* mode 4 - fits in 16KB */ |
1099 | static struct musb_fifo_cfg __devinitdata mode_4_cfg[] = { | 1099 | static struct musb_fifo_cfg mode_4_cfg[] = { |
1100 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, | 1100 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, |
1101 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, | 1101 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, |
1102 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, | 1102 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, |
@@ -1127,7 +1127,7 @@ static struct musb_fifo_cfg __devinitdata mode_4_cfg[] = { | |||
1127 | }; | 1127 | }; |
1128 | 1128 | ||
1129 | /* mode 5 - fits in 8KB */ | 1129 | /* mode 5 - fits in 8KB */ |
1130 | static struct musb_fifo_cfg __devinitdata mode_5_cfg[] = { | 1130 | static struct musb_fifo_cfg mode_5_cfg[] = { |
1131 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, | 1131 | { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, }, |
1132 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, | 1132 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, |
1133 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, | 1133 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, |
@@ -1234,7 +1234,7 @@ fifo_setup(struct musb *musb, struct musb_hw_ep *hw_ep, | |||
1234 | return offset + (maxpacket << ((c_size & MUSB_FIFOSZ_DPB) ? 1 : 0)); | 1234 | return offset + (maxpacket << ((c_size & MUSB_FIFOSZ_DPB) ? 1 : 0)); |
1235 | } | 1235 | } |
1236 | 1236 | ||
1237 | static struct musb_fifo_cfg __devinitdata ep0_cfg = { | 1237 | static struct musb_fifo_cfg ep0_cfg = { |
1238 | .style = FIFO_RXTX, .maxpacket = 64, | 1238 | .style = FIFO_RXTX, .maxpacket = 64, |
1239 | }; | 1239 | }; |
1240 | 1240 | ||
@@ -1578,7 +1578,7 @@ irqreturn_t musb_interrupt(struct musb *musb) | |||
1578 | EXPORT_SYMBOL_GPL(musb_interrupt); | 1578 | EXPORT_SYMBOL_GPL(musb_interrupt); |
1579 | 1579 | ||
1580 | #ifndef CONFIG_MUSB_PIO_ONLY | 1580 | #ifndef CONFIG_MUSB_PIO_ONLY |
1581 | static bool __devinitdata use_dma = 1; | 1581 | static bool use_dma = 1; |
1582 | 1582 | ||
1583 | /* "modprobe ... use_dma=0" etc */ | 1583 | /* "modprobe ... use_dma=0" etc */ |
1584 | module_param(use_dma, bool, 0); | 1584 | module_param(use_dma, bool, 0); |