aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
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,
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);