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/triflex.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/triflex.c')
-rw-r--r-- | drivers/ide/triflex.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ide/triflex.c b/drivers/ide/triflex.c index 55ce1b80efcb..7f1af9493f0e 100644 --- a/drivers/ide/triflex.c +++ b/drivers/ide/triflex.c | |||
@@ -92,7 +92,7 @@ static const struct ide_port_ops triflex_port_ops = { | |||
92 | .set_dma_mode = triflex_set_mode, | 92 | .set_dma_mode = triflex_set_mode, |
93 | }; | 93 | }; |
94 | 94 | ||
95 | static const struct ide_port_info triflex_device __devinitconst = { | 95 | static const struct ide_port_info triflex_device = { |
96 | .name = DRV_NAME, | 96 | .name = DRV_NAME, |
97 | .enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}}, | 97 | .enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}}, |
98 | .port_ops = &triflex_port_ops, | 98 | .port_ops = &triflex_port_ops, |
@@ -101,8 +101,7 @@ static const struct ide_port_info triflex_device __devinitconst = { | |||
101 | .mwdma_mask = ATA_MWDMA2, | 101 | .mwdma_mask = ATA_MWDMA2, |
102 | }; | 102 | }; |
103 | 103 | ||
104 | static int __devinit triflex_init_one(struct pci_dev *dev, | 104 | static int triflex_init_one(struct pci_dev *dev, const struct pci_device_id *id) |
105 | const struct pci_device_id *id) | ||
106 | { | 105 | { |
107 | return ide_pci_init_one(dev, &triflex_device, NULL); | 106 | return ide_pci_init_one(dev, &triflex_device, NULL); |
108 | } | 107 | } |