瀏覽代碼

[ATM]: [suni] change suni_init to __devinit

Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Chas Williams 19 年之前
父節點
當前提交
d17f086550
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/atm/he.c
  2. 1 1
      drivers/atm/suni.c

+ 1 - 1
drivers/atm/he.c

@@ -1018,7 +1018,7 @@ he_init_irq(struct he_dev *he_dev)
 	return 0;
 }
 
-static int __init
+static int __devinit
 he_start(struct atm_dev *dev)
 {
 	struct he_dev *he_dev;

+ 1 - 1
drivers/atm/suni.c

@@ -289,7 +289,7 @@ static const struct atmphy_ops suni_ops = {
 };
 
 
-int suni_init(struct atm_dev *dev)
+int __devinit suni_init(struct atm_dev *dev)
 {
 	unsigned char mri;