Browse Source

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 <ohad@wizery.com>
Ohad Ben-Cohen 13 years ago
parent
commit
7548c09a47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-omap2/hwspinlock.c

+ 1 - 1
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;