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/pata_pdc2027x.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/pata_pdc2027x.c')
-rw-r--r-- | drivers/ata/pata_pdc2027x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c index c9399c8688c5..3f94a886bb35 100644 --- a/drivers/ata/pata_pdc2027x.c +++ b/drivers/ata/pata_pdc2027x.c | |||
@@ -700,7 +700,8 @@ static void pdc_ata_setup_port(struct ata_ioports *port, void __iomem *base) | |||
700 | * @pdev: instance of pci_dev found | 700 | * @pdev: instance of pci_dev found |
701 | * @ent: matching entry in the id_tbl[] | 701 | * @ent: matching entry in the id_tbl[] |
702 | */ | 702 | */ |
703 | static int __devinit pdc2027x_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) | 703 | static int pdc2027x_init_one(struct pci_dev *pdev, |
704 | const struct pci_device_id *ent) | ||
704 | { | 705 | { |
705 | static const unsigned long cmd_offset[] = { 0x17c0, 0x15c0 }; | 706 | static const unsigned long cmd_offset[] = { 0x17c0, 0x15c0 }; |
706 | static const unsigned long bmdma_offset[] = { 0x1000, 0x1008 }; | 707 | static const unsigned long bmdma_offset[] = { 0x1000, 0x1008 }; |