From: Adrian Bunk Date: Tue, 17 Jul 2007 01:34:04 +0000 (-0700) Subject: [ATM]: [lanai] sram_test_word() must be __devinit X-Git-Tag: v2.6.23-rc1~496^2~15 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de24a193124e40fc4f23160336982de1565d51fc;p=linux-2.6 [ATM]: [lanai] sram_test_word() must be __devinit Signed-off-by: Adrian Bunk Signed-off-by: chas williams Signed-off-by: David S. Miller --- diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c index 0e2c1ae650..55fd1b4543 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);