diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:19:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | 0ec24914675c48213378da550db494bf154f0f6c (patch) | |
tree | 901633b49aad470693a8ad2a0c490c6888df3ca6 /drivers/ata/sata_vsc.c | |
parent | d8929942806270801023c90d78885e5347be718f (diff) |
Drivers: ata: 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,
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: Jeff Garzik <jgarzik@pobox.com>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/sata_vsc.c')
-rw-r--r-- | drivers/ata/sata_vsc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ata/sata_vsc.c b/drivers/ata/sata_vsc.c index e8cf88ba145d..44f304b3de63 100644 --- a/drivers/ata/sata_vsc.c +++ b/drivers/ata/sata_vsc.c | |||
@@ -312,8 +312,7 @@ static struct ata_port_operations vsc_sata_ops = { | |||
312 | .scr_write = vsc_sata_scr_write, | 312 | .scr_write = vsc_sata_scr_write, |
313 | }; | 313 | }; |
314 | 314 | ||
315 | static void __devinit vsc_sata_setup_port(struct ata_ioports *port, | 315 | static void vsc_sata_setup_port(struct ata_ioports *port, void __iomem *base) |
316 | void __iomem *base) | ||
317 | { | 316 | { |
318 | port->cmd_addr = base + VSC_SATA_TF_CMD_OFFSET; | 317 | port->cmd_addr = base + VSC_SATA_TF_CMD_OFFSET; |
319 | port->data_addr = base + VSC_SATA_TF_DATA_OFFSET; | 318 | port->data_addr = base + VSC_SATA_TF_DATA_OFFSET; |
@@ -335,8 +334,8 @@ static void __devinit vsc_sata_setup_port(struct ata_ioports *port, | |||
335 | } | 334 | } |
336 | 335 | ||
337 | 336 | ||
338 | static int __devinit vsc_sata_init_one(struct pci_dev *pdev, | 337 | static int vsc_sata_init_one(struct pci_dev *pdev, |
339 | const struct pci_device_id *ent) | 338 | const struct pci_device_id *ent) |
340 | { | 339 | { |
341 | static const struct ata_port_info pi = { | 340 | static const struct ata_port_info pi = { |
342 | .flags = ATA_FLAG_SATA, | 341 | .flags = ATA_FLAG_SATA, |