summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-u300
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2009-08-13 21:57:22 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-08-15 15:36:52 +0100
commita2bb9f4d6a5a589b481595207ac3588cc08d1b60 (patch)
tree52b56450a8b81c1517d915828bbaf8b9ccfcd0a4 /arch/arm/mach-u300
parent824df399a31fe92d88eb8caf86768cc8c7c72a06 (diff)
downloadblackbird-op-linux-a2bb9f4d6a5a589b481595207ac3588cc08d1b60.tar.gz
blackbird-op-linux-a2bb9f4d6a5a589b481595207ac3588cc08d1b60.zip
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 <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r--arch/arm/mach-u300/core.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud