diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-16 21:34:04 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-18 04:46:54 -0400 |
commit | de24a193124e40fc4f23160336982de1565d51fc (patch) | |
tree | 454a701d93bf3a901325f375ce3a8ae7df20b513 /drivers | |
parent | 2db84a8699db45c1c62dccdad61323eab56c111e (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.c | 4 |
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 | ||
555 | static int __init sram_test_word( | 555 | static 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); |