aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-10-24 16:16:39 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-24 16:16:39 -0700
commit977a415f2b70b5693aaa23b1a16ad57ea20a1dce (patch)
treedf8b551832c676c8bca1be276cf8d06084599fb5 /drivers/atm
parent6d381634d213580d40d431e7664dfb45f641b884 (diff)
downloadkernel_samsung_smdk4412-977a415f2b70b5693aaa23b1a16ad57ea20a1dce.tar.gz
kernel_samsung_smdk4412-977a415f2b70b5693aaa23b1a16ad57ea20a1dce.tar.bz2
kernel_samsung_smdk4412-977a415f2b70b5693aaa23b1a16ad57ea20a1dce.zip
[ATM] horizon: read_bia() needs to be __devinit
Thanks to Randy Dunlap. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/horizon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c
index 44268cba5a5..4dc10105d61 100644
--- a/drivers/atm/horizon.c
+++ b/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);
}
-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);