mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 23:40:54 +07:00
[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
@ -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 New Issue
Block a user