summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorOhad Ben-Cohen <ohad@wizery.com>2012-04-04 15:44:38 +0300
committerOhad Ben-Cohen <ohad@wizery.com>2012-05-13 16:11:29 +0300
commit7548c09a475039b5e9179615ac4c1c58b930cdb5 (patch)
treeab6bfda54629ca8bcc806f8749cefec0751da888 /arch/arm
parent778d02e9b3b7188ce37ff542e54ff5df723659e6 (diff)
downloadtalos-op-linux-7548c09a475039b5e9179615ac4c1c58b930cdb5.tar.gz
talos-op-linux-7548c09a475039b5e9179615ac4c1c58b930cdb5.zip
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/hwspinlock.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud