diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-16 18:34:04 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-18 01:46:54 -0700 |
commit | de24a193124e40fc4f23160336982de1565d51fc (patch) | |
tree | 454a701d93bf3a901325f375ce3a8ae7df20b513 /drivers/atm/lanai.c | |
parent | 2db84a8699db45c1c62dccdad61323eab56c111e (diff) | |
download | lwn-de24a193124e40fc4f23160336982de1565d51fc.tar.gz lwn-de24a193124e40fc4f23160336982de1565d51fc.zip |
[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/atm/lanai.c')
-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, writel(val, sram_addr(lanai, offset)); } -static int __init sram_test_word( - const struct lanai_dev *lanai, int offset, u32 pattern) +static int __devinit sram_test_word(const struct lanai_dev *lanai, + int offset, u32 pattern) { u32 readback; sram_write(lanai, pattern, offset); |