aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/idt77252.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/idt77252.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/idt77252.c')
-rw-r--r--drivers/atm/idt77252.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
index 8974bd2b961e..272f00927761 100644
--- a/drivers/atm/idt77252.c
+++ b/drivers/atm/idt77252.c
@@ -3109,8 +3109,7 @@ deinit_card(struct idt77252_dev *card)
3109} 3109}
3110 3110
3111 3111
3112static void __devinit 3112static void init_sram(struct idt77252_dev *card)
3113init_sram(struct idt77252_dev *card)
3114{ 3113{
3115 int i; 3114 int i;
3116 3115
@@ -3257,8 +3256,7 @@ init_sram(struct idt77252_dev *card)
3257 IPRINTK("%s: SRAM initialization complete.\n", card->name); 3256 IPRINTK("%s: SRAM initialization complete.\n", card->name);
3258} 3257}
3259 3258
3260static int __devinit 3259static int init_card(struct atm_dev *dev)
3261init_card(struct atm_dev *dev)
3262{ 3260{
3263 struct idt77252_dev *card = dev->dev_data; 3261 struct idt77252_dev *card = dev->dev_data;
3264 struct pci_dev *pcidev = card->pcidev; 3262 struct pci_dev *pcidev = card->pcidev;
@@ -3537,8 +3535,7 @@ init_card(struct atm_dev *dev)
3537/*****************************************************************************/ 3535/*****************************************************************************/
3538 3536
3539 3537
3540static int __devinit 3538static int idt77252_preset(struct idt77252_dev *card)
3541idt77252_preset(struct idt77252_dev *card)
3542{ 3539{
3543 u16 pci_command; 3540 u16 pci_command;
3544 3541
@@ -3579,8 +3576,7 @@ idt77252_preset(struct idt77252_dev *card)
3579} 3576}
3580 3577
3581 3578
3582static unsigned long __devinit 3579static unsigned long probe_sram(struct idt77252_dev *card)
3583probe_sram(struct idt77252_dev *card)
3584{ 3580{
3585 u32 data, addr; 3581 u32 data, addr;
3586 3582
@@ -3601,8 +3597,8 @@ probe_sram(struct idt77252_dev *card)
3601 return addr * sizeof(u32); 3597 return addr * sizeof(u32);
3602} 3598}
3603 3599
3604static int __devinit 3600static int idt77252_init_one(struct pci_dev *pcidev,
3605idt77252_init_one(struct pci_dev *pcidev, const struct pci_device_id *id) 3601 const struct pci_device_id *id)
3606{ 3602{
3607 static struct idt77252_dev **last = &idt77252_chain; 3603 static struct idt77252_dev **last = &idt77252_chain;
3608 static int index = 0; 3604 static int index = 0;