From: Tony Lindgren Date: Tue, 5 Feb 2013 17:51:26 +0000 (-0800) Subject: ARM: OMAP2+: Fix warning for hwspinlock omap_postcore_initcall X-Git-Tag: upstream/snapshot3+hdmi~5688^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13fba955b5b91675e26d3e3abcb2dab42c535791;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Tony Lindgren Signed-off-by: Olof Johansson --- diff --git a/arch/arm/mach-omap2/hwspinlock.c b/arch/arm/mach-omap2/hwspinlock.c index ce1b5b6..bcb357e 100644 --- a/arch/arm/mach-omap2/hwspinlock.c +++ b/arch/arm/mach-omap2/hwspinlock.c @@ -21,6 +21,7 @@ #include #include +#include "soc.h" #include "omap_hwmod.h" #include "omap_device.h"