From: Adrian Bunk Date: Tue, 17 Jul 2007 01:34:04 +0000 (-0700) Subject: [ATM]: [lanai] sram_test_word() must be __devinit X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=de24a193124e40fc4f23160336982de1565d51fc;p=linux-beck.git [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 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);