[ATM] horizon: read_bia() needs to be __devinit
Thanks to Randy Dunlap. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6d381634d2
commit
977a415f2b
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue