From: Linus Walleij Date: Thu, 13 Aug 2009 20:57:22 +0000 (+0100) Subject: ARM: 5673/1: U300 fix initsection compile warning X-Git-Tag: firefly_0821_release~13157^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a2bb9f4d6a5a589b481595207ac3588cc08d1b60;p=firefly-linux-kernel-4.4.55.git ARM: 5673/1: U300 fix initsection compile warning 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 Signed-off-by: Russell King --- diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 7936085dd758..2e9b8ccd8ec2 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c @@ -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;