Explorar o código

[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>
Chas Williams %!s(int64=19) %!d(string=hai) anos
pai
achega
b47eb0eb9b
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      drivers/atm/idt77105.c
  2. 1 1
      drivers/atm/idt77105.h

+ 1 - 1
drivers/atm/idt77105.c

@@ -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;

+ 1 - 1
drivers/atm/idt77105.h

@@ -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
 
 /*