diff options
author | Tony Lindgren <tony@atomide.com> | 2013-02-05 12:51:26 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-02-05 17:10:43 -0500 |
commit | 13fba955b5b91675e26d3e3abcb2dab42c535791 (patch) | |
tree | cd06c824c30554cd205f55fd623de8cbdffcf88b | |
parent | 552a5774db69e45545d82e3ca4caae41e9283e00 (diff) |
ARM: OMAP2+: Fix warning for hwspinlock omap_postcore_initcall
Commit 816a65ef4 (ARM: OMAP2+: Limit omap initcalls to omap only on
multiplatform kernels) fixed up things for multiplatform booting
but failed to include soc.h causing a new warning:
arch/arm/mach-omap2/hwspinlock.c:60:1: warning: data definition has no type or storage class
arch/arm/mach-omap2/hwspinlock.c:60:1: warning: type defaults to 'int' in declaration of 'omap_postcore_initcall'
arch/arm/mach-omap2/hwspinlock.c:60:1: warning: parameter names (without types) in function declaration
arch/arm/mach-omap2/hwspinlock.c:31:122: warning: 'hwspinlocks_init' defined but not used
Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-omap2/hwspinlock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/hwspinlock.c b/arch/arm/mach-omap2/hwspinlock.c index ce1b5b6fc22c..bcb357e948b7 100644 --- a/arch/arm/mach-omap2/hwspinlock.c +++ b/arch/arm/mach-omap2/hwspinlock.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/err.h> | 21 | #include <linux/err.h> |
22 | #include <linux/hwspinlock.h> | 22 | #include <linux/hwspinlock.h> |
23 | 23 | ||
24 | #include "soc.h" | ||
24 | #include "omap_hwmod.h" | 25 | #include "omap_hwmod.h" |
25 | #include "omap_device.h" | 26 | #include "omap_device.h" |
26 | 27 | ||