[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>
This commit is contained in:
Adrian Bunk 2007-07-16 18:34:04 -07:00 committed by David S. Miller
parent 2db84a8699
commit de24a19312

View file

@ -552,8 +552,8 @@ static inline void sram_write(const struct lanai_dev *lanai,
writel(val, sram_addr(lanai, offset)); writel(val, sram_addr(lanai, offset));
} }
static int __init sram_test_word( static int __devinit sram_test_word(const struct lanai_dev *lanai,
const struct lanai_dev *lanai, int offset, u32 pattern) int offset, u32 pattern)
{ {
u32 readback; u32 readback;
sram_write(lanai, pattern, offset); sram_write(lanai, pattern, offset);