[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:
parent
2db84a8699
commit
de24a19312
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue