]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ATM] horizon: read_bia() needs to be __devinit
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 24 Oct 2006 23:16:39 +0000 (16:16 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 24 Oct 2006 23:16:39 +0000 (16:16 -0700)
Thanks to Randy Dunlap.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/horizon.c

index 44268cba5a5a215c3f8de6a78af1ada1653cd393..4dc10105d61023311586f6f930950d4dc04d44ea 100644 (file)
@@ -1789,7 +1789,7 @@ static inline void CLOCK_IT (const hrz_dev *dev, u32 ctrl)
        WRITE_IT_WAIT(dev, ctrl | SEEPROM_SK);
 }
 
-static u16 __init read_bia (const hrz_dev * dev, u16 addr)
+static u16 __devinit read_bia (const hrz_dev * dev, u16 addr)
 {
   u32 ctrl = rd_regl (dev, CONTROL_0_REG);