[ATM] horizon: read_bia() needs to be __devinit
authorDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2007 00:41:25 +0000 (01:41 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 21 Feb 2007 00:41:25 +0000 (01:41 +0100)
Thanks to Randy Dunlap.

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

index fda06f9163fcf767ebe567a04e62ea4da7590090..9e4ac76d4a5022a26e9f7d9d3128647001f7fa65 100644 (file)
@@ -1800,7 +1800,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);