]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
commit 977a415f2b70b5693aaa23b1a16ad57ea20a1dce git-5b7c714ec27584b18279b741b6043016f8adb9de
authort_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:20 +0000 (12:05 +0000)
committert_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:20 +0000 (12:05 +0000)
Author: David S. Miller <davem@sunset.davemloft.net>
Date:   Tue Oct 24 16:16:39 2006 -0700

    [ATM] horizon: read_bia() needs to be __devinit

    Thanks to Randy Dunlap.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/horizon.c

index d1113e845f953bc6dc963215a5b9f37936062651..e4b3e311901bfcf610ea4998b92c5089240f09be 100644 (file)
@@ -1800,7 +1800,7 @@ static inline void CLOCK_IT (const hrz_dev *dev, u32 ctrl)
        WRITE_IT_WAIT(dev, ctrl | SEEPROM_SK);
 }
 
-static u16 __init read_bia (const hrz_dev * dev, u16 addr)
+static u16 __devinit read_bia (const hrz_dev * dev, u16 addr)
 {
   u32 ctrl = rd_regl (dev, CONTROL_0_REG);