ARM: 5673/1: U300 fix initsection compile warning
authorLinus Walleij <[email protected]>
Thu, 13 Aug 2009 20:57:22 +0000 (21:57 +0100)
committerRussell King <[email protected]>
Sat, 15 Aug 2009 14:36:52 +0000 (15:36 +0100)
The u300_init_check_chip() function was not properly tagged with
the __init macro and provided a initsection mismatch on
compilation.

Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/mach-u300/core.c

index 7936085dd75881c3faca30adcbede5a8ba60db56..2e9b8ccd8ec2e6d8cccc347231cc00293de22619 100644 (file)
@@ -510,7 +510,7 @@ static struct db_chip db_chips[] __initdata = {
        }
 };
 
-static void u300_init_check_chip(void)
+static void __init u300_init_check_chip(void)
 {
 
        u16 val;