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/cs5520.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/cs5520.c')
-rw-r--r-- | drivers/ide/cs5520.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/cs5520.c b/drivers/ide/cs5520.c index 14447621e60b..6250aee30503 100644 --- a/drivers/ide/cs5520.c +++ b/drivers/ide/cs5520.c | |||
@@ -94,7 +94,7 @@ static const struct ide_port_ops cs5520_port_ops = { | |||
94 | .set_dma_mode = cs5520_set_dma_mode, | 94 | .set_dma_mode = cs5520_set_dma_mode, |
95 | }; | 95 | }; |
96 | 96 | ||
97 | static const struct ide_port_info cyrix_chipset __devinitconst = { | 97 | static const struct ide_port_info cyrix_chipset = { |
98 | .name = DRV_NAME, | 98 | .name = DRV_NAME, |
99 | .enablebits = { { 0x60, 0x01, 0x01 }, { 0x60, 0x02, 0x02 } }, | 99 | .enablebits = { { 0x60, 0x01, 0x01 }, { 0x60, 0x02, 0x02 } }, |
100 | .port_ops = &cs5520_port_ops, | 100 | .port_ops = &cs5520_port_ops, |
@@ -108,7 +108,7 @@ static const struct ide_port_info cyrix_chipset __devinitconst = { | |||
108 | * work longhand. | 108 | * work longhand. |
109 | */ | 109 | */ |
110 | 110 | ||
111 | static int __devinit cs5520_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 111 | static int cs5520_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
112 | { | 112 | { |
113 | const struct ide_port_info *d = &cyrix_chipset; | 113 | const struct ide_port_info *d = &cyrix_chipset; |
114 | struct ide_hw hw[2], *hws[] = { NULL, NULL }; | 114 | struct ide_hw hw[2], *hws[] = { NULL, NULL }; |