aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-16 21:34:04 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-18 04:46:54 -0400
commitde24a193124e40fc4f23160336982de1565d51fc (patch)
tree454a701d93bf3a901325f375ce3a8ae7df20b513 /drivers
parent2db84a8699db45c1c62dccdad61323eab56c111e (diff)
[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')
-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,
552 writel(val, sram_addr(lanai, offset)); 552 writel(val, sram_addr(lanai, offset));
553} 553}
554 554
555static int __init sram_test_word( 555static int __devinit sram_test_word(const struct lanai_dev *lanai,
556 const struct lanai_dev *lanai, int offset, u32 pattern) 556 int offset, u32 pattern)
557{ 557{
558 u32 readback; 558 u32 readback;
559 sram_write(lanai, pattern, offset); 559 sram_write(lanai, pattern, offset);