Commit aad4d213 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: remove improper use of devinitdata markings for device ids.

parent d1df71f8
......@@ -2664,7 +2664,7 @@ static int net2280_probe (struct pci_dev *pdev, const struct pci_device_id *id)
/*-------------------------------------------------------------------------*/
static struct pci_device_id __devinitdata pci_ids [] = { {
static struct pci_device_id pci_ids [] = { {
.class = ((PCI_CLASS_SERIAL_USB << 8) | 0xfe),
.class_mask = ~0,
.vendor = 0x17cc,
......
......@@ -974,7 +974,7 @@ static const struct hc_driver ehci_driver = {
/* EHCI spec says PCI is required. */
/* PCI driver selection metadata; PCI hotplugging uses this */
static struct pci_device_id __devinitdata pci_ids [] = { {
static struct pci_device_id pci_ids [] = { {
/* handle any USB 2.0 EHCI controller */
......
......@@ -351,7 +351,7 @@ static const struct hc_driver ohci_pci_hc_driver = {
/*-------------------------------------------------------------------------*/
static const struct pci_device_id __devinitdata pci_ids [] = { {
static const struct pci_device_id pci_ids [] = { {
/* handle any USB OHCI controller */
.class = (PCI_CLASS_SERIAL_USB << 8) | 0x10,
......
......@@ -2503,7 +2503,7 @@ static const struct hc_driver uhci_driver = {
.hub_control = uhci_hub_control,
};
static const struct pci_device_id __devinitdata uhci_pci_ids[] = { {
static const struct pci_device_id uhci_pci_ids[] = { {
/* handle any USB UHCI controller */
.class = ((PCI_CLASS_SERIAL_USB << 8) | 0x00),
......
......@@ -201,7 +201,7 @@ static int emi26_load_firmware (struct usb_device *dev)
return err;
}
static __devinitdata struct usb_device_id id_table [] = {
static struct usb_device_id id_table [] = {
{ USB_DEVICE(EMI26_VENDOR_ID, EMI26_PRODUCT_ID) },
{ } /* Terminating entry */
};
......@@ -231,7 +231,7 @@ struct usb_driver emi26_driver = {
.name = "emi26 - firmware loader",
.probe = emi26_probe,
.disconnect = emi26_disconnect,
.id_table = NULL,
.id_table = id_table,
};
static int __init emi26_init (void)
......
......@@ -158,7 +158,7 @@ struct ax8817x_info {
};
const struct usb_device_id ax8817x_id_table[] __devinitdata = {
const struct usb_device_id ax8817x_id_table[] = {
/* Linksys USB200M */
{USB_DEVICE(0x077b, 0x2226), driver_info:0x00130103},
/* Hawking UF200, TRENDnet TU2-ET100 */
......
......@@ -392,7 +392,7 @@ static struct usb_device_id id_table_HE_TIRA1 [] = {
};
static __devinitdata struct usb_device_id id_table_combined [] = {
static struct usb_device_id id_table_combined [] = {
{ USB_DEVICE(FTDI_VID, FTDI_SIO_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_RELAIS_PID) },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment