ARM: OMAP4: hwspinlocks_init() should be static
authorOhad Ben-Cohen <ohad@wizery.com>
Wed, 4 Apr 2012 12:44:38 +0000 (15:44 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Sun, 13 May 2012 13:11:29 +0000 (16:11 +0300)
Sparse found out that hwspinlocks_init() wasn't marked static,
and it should've been.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
arch/arm/mach-omap2/hwspinlock.c

index 454dfce..8763c85 100644 (file)
@@ -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;