[ATM] horizon: read_bia() needs to be __devinit
[firefly-linux-kernel-4.4.55.git] / 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);