diff options
author | Chas Williams <chas@cmf.nrl.navy.mil> | 2006-06-29 15:35:02 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-29 19:58:12 -0400 |
commit | b47eb0eb9bb5fcee6394f0d9bde0b471f7329841 (patch) | |
tree | 6fc0514d48c77de6848570c9420609ab011c941c /drivers | |
parent | b11d6213529b33d81c21eeba97343e3b714e62e7 (diff) |
[ATM]: [idt77105] should be __devinit not __init
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/atm/idt77105.c | 2 | ||||
-rw-r--r-- | drivers/atm/idt77105.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/idt77105.c b/drivers/atm/idt77105.c index 0aabfc2a59d9..325325afabec 100644 --- a/drivers/atm/idt77105.c +++ b/drivers/atm/idt77105.c | |||
@@ -358,7 +358,7 @@ static const struct atmphy_ops idt77105_ops = { | |||
358 | }; | 358 | }; |
359 | 359 | ||
360 | 360 | ||
361 | int idt77105_init(struct atm_dev *dev) | 361 | int __devinit idt77105_init(struct atm_dev *dev) |
362 | { | 362 | { |
363 | dev->phy = &idt77105_ops; | 363 | dev->phy = &idt77105_ops; |
364 | return 0; | 364 | return 0; |
diff --git a/drivers/atm/idt77105.h b/drivers/atm/idt77105.h index 8ba8218aaefe..3fd2bc899761 100644 --- a/drivers/atm/idt77105.h +++ b/drivers/atm/idt77105.h | |||
@@ -76,7 +76,7 @@ | |||
76 | #define IDT77105_CTRSEL_RHEC 0x01 /* W, Rx HEC Error Counter */ | 76 | #define IDT77105_CTRSEL_RHEC 0x01 /* W, Rx HEC Error Counter */ |
77 | 77 | ||
78 | #ifdef __KERNEL__ | 78 | #ifdef __KERNEL__ |
79 | int idt77105_init(struct atm_dev *dev) __init; | 79 | int idt77105_init(struct atm_dev *dev); |
80 | #endif | 80 | #endif |
81 | 81 | ||
82 | /* | 82 | /* |