From: Ohad Ben-Cohen Date: Wed, 4 Apr 2012 12:44:38 +0000 (+0300) Subject: ARM: OMAP4: hwspinlocks_init() should be static X-Git-Tag: next-20120724~11^2~18^2~4^2~9^2^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7548c09a475039b5e9179615ac4c1c58b930cdb5;p=karo-tx-linux.git ARM: OMAP4: hwspinlocks_init() should be static Sparse found out that hwspinlocks_init() wasn't marked static, and it should've been. Signed-off-by: Ohad Ben-Cohen --- diff --git a/arch/arm/mach-omap2/hwspinlock.c b/arch/arm/mach-omap2/hwspinlock.c index 454dfce125ca..8763c8520dc2 100644 --- a/arch/arm/mach-omap2/hwspinlock.c +++ b/arch/arm/mach-omap2/hwspinlock.c @@ -28,7 +28,7 @@ static struct hwspinlock_pdata omap_hwspinlock_pdata __initdata = { .base_id = 0, }; -int __init hwspinlocks_init(void) +static int __init hwspinlocks_init(void) { int retval = 0; struct omap_hwmod *oh;