aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pdc202xx_old.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:21:03 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:03 -0500
commitfe31edc8a3b6081f3580c9ae4c5c61103f3412a5 (patch)
tree84b9d3b008f33031093a73a7bec7f422f3a7eff8 /drivers/ide/pdc202xx_old.c
parent0ec24914675c48213378da550db494bf154f0f6c (diff)
Drivers: ide: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/pdc202xx_old.c')
-rw-r--r--drivers/ide/pdc202xx_old.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/pdc202xx_old.c b/drivers/ide/pdc202xx_old.c
index 563451096812..224ad46d6cb2 100644
--- a/drivers/ide/pdc202xx_old.c
+++ b/drivers/ide/pdc202xx_old.c
@@ -211,8 +211,7 @@ out:
211 return 0; 211 return 0;
212} 212}
213 213
214static void __devinit pdc202ata4_fixup_irq(struct pci_dev *dev, 214static void pdc202ata4_fixup_irq(struct pci_dev *dev, const char *name)
215 const char *name)
216{ 215{
217 if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE) { 216 if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE) {
218 u8 irq = 0, irq2 = 0; 217 u8 irq = 0, irq2 = 0;
@@ -270,7 +269,7 @@ static const struct ide_dma_ops pdc2026x_dma_ops = {
270 .max_sectors = sectors, \ 269 .max_sectors = sectors, \
271 } 270 }
272 271
273static const struct ide_port_info pdc202xx_chipsets[] __devinitconst = { 272static const struct ide_port_info pdc202xx_chipsets[] = {
274 { /* 0: PDC20246 */ 273 { /* 0: PDC20246 */
275 .name = DRV_NAME, 274 .name = DRV_NAME,
276 .init_chipset = init_chipset_pdc202xx, 275 .init_chipset = init_chipset_pdc202xx,
@@ -297,7 +296,8 @@ static const struct ide_port_info pdc202xx_chipsets[] __devinitconst = {
297 * finds a device matching our IDE device tables. 296 * finds a device matching our IDE device tables.
298 */ 297 */
299 298
300static int __devinit pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) 299static int pdc202xx_init_one(struct pci_dev *dev,
300 const struct pci_device_id *id)
301{ 301{
302 const struct ide_port_info *d; 302 const struct ide_port_info *d;
303 u8 idx = id->driver_data; 303 u8 idx = id->driver_data;