summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2007-02-21 01:41:25 +0100
committerAdrian Bunk <bunk@stusta.de>2007-02-21 01:41:25 +0100
commitec2b07d409fcf3d83312b7fd431d1e8798224682 (patch)
tree0a7b02b30b0ccaf398c9557239cc0f8d225a986e /drivers
parent1f0e1052ae6619d75f3096a5293f1b2b38873f77 (diff)
[ATM] horizon: read_bia() needs to be __devinit
Thanks to Randy Dunlap. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers')
-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 fda06f9163fc..9e4ac76d4a50 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);