Browse Source

[ATM] horizon: read_bia() needs to be __devinit

Thanks to Randy Dunlap.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 18 years ago
parent
commit
977a415f2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/atm/horizon.c

+ 1 - 1
drivers/atm/horizon.c

@@ -1789,7 +1789,7 @@ static inline void CLOCK_IT (const hrz_dev *dev, u32 ctrl)
 	WRITE_IT_WAIT(dev, ctrl | SEEPROM_SK);
 	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);
   u32 ctrl = rd_regl (dev, CONTROL_0_REG);