summaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-17 03:34:04 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-18 10:46:54 +0200
commitde24a193124e40fc4f23160336982de1565d51fc (patch)
tree454a701d93bf3a901325f375ce3a8ae7df20b513 /drivers/atm
parent[ATM]: [nicstar] Replace C code with call to ARRAY_SIZE() macro. (diff)
downloadlinux-de24a193124e40fc4f23160336982de1565d51fc.tar.xz
linux-de24a193124e40fc4f23160336982de1565d51fc.zip
[ATM]: [lanai] sram_test_word() must be __devinit
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: chas williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/lanai.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c
index 0e2c1ae650e7..55fd1b4543fd 100644
--- a/drivers/atm/lanai.c
+++ b/drivers/atm/lanai.c
@@ -552,8 +552,8 @@ static inline void sram_write(const struct lanai_dev *lanai,
writel(val, sram_addr(lanai, offset));
}
-static int __init sram_test_word(
- const struct lanai_dev *lanai, int offset, u32 pattern)
+static int __devinit sram_test_word(const struct lanai_dev *lanai,
+ int offset, u32 pattern)
{
u32 readback;
sram_write(lanai, pattern, offset);