From: David S. Miller Date: Wed, 21 Feb 2007 00:41:25 +0000 (+0100) Subject: [ATM] horizon: read_bia() needs to be __devinit X-Git-Tag: v2.6.16.42-rc1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec2b07d409fcf3d83312b7fd431d1e8798224682;p=thirdparty%2Fkernel%2Fstable.git [ATM] horizon: read_bia() needs to be __devinit Thanks to Randy Dunlap. Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk --- diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index fda06f9163fcf..9e4ac76d4a502 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c @@ -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);