Skip to content

Commit

Permalink
ARM: OMAP2+: Fix warning for hwspinlock omap_postcore_initcall
Browse files Browse the repository at this point in the history
Commit 816a65e (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>
  • Loading branch information
Tony Lindgren authored and Olof Johansson committed Feb 5, 2013
1 parent 552a577 commit 13fba95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-omap2/hwspinlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <linux/err.h>
#include <linux/hwspinlock.h>

#include "soc.h"
#include "omap_hwmod.h"
#include "omap_device.h"

Expand Down

0 comments on commit 13fba95

Please sign in to comment.