Skip to content

Commit

Permalink
[ATM]: [idt77105] should be __devinit not __init
Browse files Browse the repository at this point in the history
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Chas Williams authored and David S. Miller committed Jun 29, 2006
1 parent b11d621 commit b47eb0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/atm/idt77105.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ static const struct atmphy_ops idt77105_ops = {
};


int idt77105_init(struct atm_dev *dev)
int __devinit idt77105_init(struct atm_dev *dev)
{
dev->phy = &idt77105_ops;
return 0;
Expand Down
2 changes: 1 addition & 1 deletion drivers/atm/idt77105.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
#define IDT77105_CTRSEL_RHEC 0x01 /* W, Rx HEC Error Counter */

#ifdef __KERNEL__
int idt77105_init(struct atm_dev *dev) __init;
int idt77105_init(struct atm_dev *dev);
#endif

/*
Expand Down

0 comments on commit b47eb0e

Please sign in to comment.