提交 b47eb0eb 编写于 作者: C Chas Williams 提交者: David S. Miller

[ATM]: [idt77105] should be __devinit not __init

Signed-off-by: NChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b11d6213
......@@ -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;
......
......@@ -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
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册