Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 977a415f authored by David S. Miller's avatar David S. Miller
Browse files

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



Thanks to Randy Dunlap.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6d381634
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);