diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:21:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | fe31edc8a3b6081f3580c9ae4c5c61103f3412a5 (patch) | |
tree | 84b9d3b008f33031093a73a7bec7f422f3a7eff8 /drivers/ide/cmd64x.c | |
parent | 0ec24914675c48213378da550db494bf154f0f6c (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/cmd64x.c')
-rw-r--r-- | drivers/ide/cmd64x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/cmd64x.c b/drivers/ide/cmd64x.c index d1fc43802f5d..b127ed60c733 100644 --- a/drivers/ide/cmd64x.c +++ b/drivers/ide/cmd64x.c | |||
@@ -327,7 +327,7 @@ static const struct ide_dma_ops cmd646_rev1_dma_ops = { | |||
327 | .dma_sff_read_status = ide_dma_sff_read_status, | 327 | .dma_sff_read_status = ide_dma_sff_read_status, |
328 | }; | 328 | }; |
329 | 329 | ||
330 | static const struct ide_port_info cmd64x_chipsets[] __devinitconst = { | 330 | static const struct ide_port_info cmd64x_chipsets[] = { |
331 | { /* 0: CMD643 */ | 331 | { /* 0: CMD643 */ |
332 | .name = DRV_NAME, | 332 | .name = DRV_NAME, |
333 | .init_chipset = init_chipset_cmd64x, | 333 | .init_chipset = init_chipset_cmd64x, |
@@ -373,7 +373,7 @@ static const struct ide_port_info cmd64x_chipsets[] __devinitconst = { | |||
373 | } | 373 | } |
374 | }; | 374 | }; |
375 | 375 | ||
376 | static int __devinit cmd64x_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 376 | static int cmd64x_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
377 | { | 377 | { |
378 | struct ide_port_info d; | 378 | struct ide_port_info d; |
379 | u8 idx = id->driver_data; | 379 | u8 idx = id->driver_data; |