aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/eni.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:25:04 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:04 -0500
commit6c44512d06d3f6afcead304f051f4a06ed9be2cd (patch)
treea6a5bcddd316b57a5839ea50737d2f510867789e /drivers/atm/eni.c
parent082a2004db27e16ee9a5b1234e6ab219ea29d693 (diff)
Drivers: atm: 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: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/atm/eni.c')
-rw-r--r--drivers/atm/eni.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
index 81e44f7b0ab6..c1eb6fa8ac35 100644
--- a/drivers/atm/eni.c
+++ b/drivers/atm/eni.c
@@ -1567,7 +1567,7 @@ tx_complete++;
1567/*--------------------------------- entries ---------------------------------*/ 1567/*--------------------------------- entries ---------------------------------*/
1568 1568
1569 1569
1570static char * const media_name[] __devinitconst = { 1570static char * const media_name[] = {
1571 "MMF", "SMF", "MMF", "03?", /* 0- 3 */ 1571 "MMF", "SMF", "MMF", "03?", /* 0- 3 */
1572 "UTP", "05?", "06?", "07?", /* 4- 7 */ 1572 "UTP", "05?", "06?", "07?", /* 4- 7 */
1573 "TAXI","09?", "10?", "11?", /* 8-11 */ 1573 "TAXI","09?", "10?", "11?", /* 8-11 */
@@ -1591,7 +1591,7 @@ static char * const media_name[] __devinitconst = {
1591 } }) 1591 } })
1592 1592
1593 1593
1594static int __devinit get_esi_asic(struct atm_dev *dev) 1594static int get_esi_asic(struct atm_dev *dev)
1595{ 1595{
1596 struct eni_dev *eni_dev; 1596 struct eni_dev *eni_dev;
1597 unsigned char tonga; 1597 unsigned char tonga;
@@ -1683,7 +1683,7 @@ static int __devinit get_esi_asic(struct atm_dev *dev)
1683#undef GET_SEPROM 1683#undef GET_SEPROM
1684 1684
1685 1685
1686static int __devinit get_esi_fpga(struct atm_dev *dev, void __iomem *base) 1686static int get_esi_fpga(struct atm_dev *dev, void __iomem *base)
1687{ 1687{
1688 void __iomem *mac_base; 1688 void __iomem *mac_base;
1689 int i; 1689 int i;
@@ -1694,7 +1694,7 @@ static int __devinit get_esi_fpga(struct atm_dev *dev, void __iomem *base)
1694} 1694}
1695 1695
1696 1696
1697static int __devinit eni_do_init(struct atm_dev *dev) 1697static int eni_do_init(struct atm_dev *dev)
1698{ 1698{
1699 struct midway_eprom __iomem *eprom; 1699 struct midway_eprom __iomem *eprom;
1700 struct eni_dev *eni_dev; 1700 struct eni_dev *eni_dev;
@@ -1797,7 +1797,7 @@ static void eni_do_release(struct atm_dev *dev)
1797 iounmap(ed->ioaddr); 1797 iounmap(ed->ioaddr);
1798} 1798}
1799 1799
1800static int __devinit eni_start(struct atm_dev *dev) 1800static int eni_start(struct atm_dev *dev)
1801{ 1801{
1802 struct eni_dev *eni_dev; 1802 struct eni_dev *eni_dev;
1803 1803
@@ -2226,8 +2226,8 @@ static const struct atmdev_ops ops = {
2226}; 2226};
2227 2227
2228 2228
2229static int __devinit eni_init_one(struct pci_dev *pci_dev, 2229static int eni_init_one(struct pci_dev *pci_dev,
2230 const struct pci_device_id *ent) 2230 const struct pci_device_id *ent)
2231{ 2231{
2232 struct atm_dev *dev; 2232 struct atm_dev *dev;
2233 struct eni_dev *eni_dev; 2233 struct eni_dev *eni_dev;
@@ -2292,7 +2292,7 @@ static struct pci_device_id eni_pci_tbl[] = {
2292MODULE_DEVICE_TABLE(pci,eni_pci_tbl); 2292MODULE_DEVICE_TABLE(pci,eni_pci_tbl);
2293 2293
2294 2294
2295static void __devexit eni_remove_one(struct pci_dev *pdev) 2295static void eni_remove_one(struct pci_dev *pdev)
2296{ 2296{
2297 struct atm_dev *dev = pci_get_drvdata(pdev); 2297 struct atm_dev *dev = pci_get_drvdata(pdev);
2298 struct eni_dev *ed = ENI_DEV(dev); 2298 struct eni_dev *ed = ENI_DEV(dev);
@@ -2310,7 +2310,7 @@ static struct pci_driver eni_driver = {
2310 .name = DEV_LABEL, 2310 .name = DEV_LABEL,
2311 .id_table = eni_pci_tbl, 2311 .id_table = eni_pci_tbl,
2312 .probe = eni_init_one, 2312 .probe = eni_init_one,
2313 .remove = __devexit_p(eni_remove_one), 2313 .remove = eni_remove_one,
2314}; 2314};
2315 2315
2316 2316