Skip to content

Commit

Permalink
ARM: 5673/1: U300 fix initsection compile warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij authored and Russell King committed Aug 15, 2009
1 parent 824df39 commit a2bb9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-u300/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a2bb9f4

Please sign in to comment.