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/sc1200.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/sc1200.c')
-rw-r--r-- | drivers/ide/sc1200.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/sc1200.c b/drivers/ide/sc1200.c index d4758ebe77da..a5b701818405 100644 --- a/drivers/ide/sc1200.c +++ b/drivers/ide/sc1200.c | |||
@@ -291,7 +291,7 @@ static const struct ide_dma_ops sc1200_dma_ops = { | |||
291 | .dma_sff_read_status = ide_dma_sff_read_status, | 291 | .dma_sff_read_status = ide_dma_sff_read_status, |
292 | }; | 292 | }; |
293 | 293 | ||
294 | static const struct ide_port_info sc1200_chipset __devinitconst = { | 294 | static const struct ide_port_info sc1200_chipset = { |
295 | .name = DRV_NAME, | 295 | .name = DRV_NAME, |
296 | .port_ops = &sc1200_port_ops, | 296 | .port_ops = &sc1200_port_ops, |
297 | .dma_ops = &sc1200_dma_ops, | 297 | .dma_ops = &sc1200_dma_ops, |
@@ -303,7 +303,7 @@ static const struct ide_port_info sc1200_chipset __devinitconst = { | |||
303 | .udma_mask = ATA_UDMA2, | 303 | .udma_mask = ATA_UDMA2, |
304 | }; | 304 | }; |
305 | 305 | ||
306 | static int __devinit sc1200_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 306 | static int sc1200_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
307 | { | 307 | { |
308 | struct sc1200_saved_state *ss = NULL; | 308 | struct sc1200_saved_state *ss = NULL; |
309 | int rc; | 309 | int rc; |