]> err.no Git - linux-2.6/commitdiff
[ATM]: [iphase] should be __devinit not __init
authorChas Williams <chas@cmf.nrl.navy.mil>
Thu, 29 Jun 2006 19:35:32 +0000 (12:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:58:14 +0000 (16:58 -0700)
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/iphase.c

index 2e2e50e1167a3b59f31a809bfbea43992b19b478..333a7bc609d24b0337bdb2d928ebd8f3d2d57b56 100644 (file)
@@ -2284,7 +2284,7 @@ static int reset_sar(struct atm_dev *dev)
 }  
          
          
-static int __init ia_init(struct atm_dev *dev)
+static int __devinit ia_init(struct atm_dev *dev)
 {  
        IADEV *iadev;  
        unsigned long real_base;
@@ -2480,7 +2480,7 @@ static void ia_free_rx(IADEV *iadev)
                          iadev->rx_dle_dma);  
 }
 
-static int __init ia_start(struct atm_dev *dev)
+static int __devinit ia_start(struct atm_dev *dev)
 {  
        IADEV *iadev;  
        int error;