projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
824df39
)
ARM: 5673/1: U300 fix initsection compile warning
author
Linus Walleij
<linus.walleij@stericsson.com>
Thu, 13 Aug 2009 20:57:22 +0000
(21:57 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
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 <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-u300/core.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-u300/core.c
b/arch/arm/mach-u300/core.c
index 7936085dd75881c3faca30adcbede5a8ba60db56..2e9b8ccd8ec2e6d8cccc347231cc00293de22619 100644
(file)
--- 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;