__devinitdata to usb-subsys
Subsystems (5)
PATCH 1/1 __devinitdata to usb-subsys
From: Henrik Kretzschmar <[email protected]>
Marking the pci_device_id tables of the usb-subsys as __devinitdata.
Signed-off-by Henrik Kretzschmar <[email protected]>
---
drivers/usb/gadget/goku_udc.c +1 -1
@@ -1954,7 +1954,7 @@/*-------------------------------------------------------------------------*/ -static struct pci_device_id pci_ids [] = { { +static struct pci_device_id pci_ids[]__devinitdata = { { .class = ((PCI_CLASS_SERIAL_USB <<8 ) |0xfe ), .class_mask = ~0 , .vendor =0x102f ,/* Toshiba */
drivers/usb/gadget/net2280.c +1 -1
@@ -2974,7 +2974,7 @@/*-------------------------------------------------------------------------*/ -static struct pci_device_id pci_ids [] = { { +static struct pci_device_id pci_ids[]__devinitdata = { { .class = ((PCI_CLASS_SERIAL_USB <<8 ) |0xfe ), .class_mask = ~0 , .vendor =0x17cc ,
drivers/usb/host/ehci-pci.c +1 -1
@@ -348,7 +348,7 @@/*-------------------------------------------------------------------------*/ /* PCI driver selection metadata; PCI hotplugging uses this */ -static const struct pci_device_id pci_ids [] = { { +static const struct pci_device_id pci_ids[]__devinitdata = { {/* handle any USB 2.0 EHCI controller */ PCI_DEVICE_CLASS (((PCI_CLASS_SERIAL_USB <<8 ) |0x20 ), ~0 ), .driver_data = (unsigned long ) &ehci_pci_hc_driver,
drivers/usb/host/ohci-pci.c +1 -1
@@ -204,7 +204,7 @@/*-------------------------------------------------------------------------*/ -static const struct pci_device_id pci_ids [] = { { +static const struct pci_device_id pci_ids[]__devinitdata = { {/* handle any USB OHCI controller */ PCI_DEVICE_CLASS ((PCI_CLASS_SERIAL_USB <<8 ) |0x10 , ~0 ), .driver_data = (unsigned long ) &ohci_pci_hc_driver,
drivers/usb/host/uhci-hcd.c +1 -1
@@ -856,7 +856,7 @@ .hub_control = uhci_hub_control, }; -static const struct pci_device_id uhci_pci_ids[] = { { +static const struct pci_device_id uhci_pci_ids[]__devinitdata = { {/* handle any USB UHCI controller */ PCI_DEVICE_CLASS (((PCI_CLASS_SERIAL_USB <<8 ) |0x00 ), ~0 ), .driver_data = (unsigned long ) &uhci_driver,
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors