projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778d02e
)
ARM: OMAP4: hwspinlocks_init() should be static
author
Ohad Ben-Cohen
<ohad@wizery.com>
Wed, 4 Apr 2012 12:44:38 +0000
(15:44 +0300)
committer
Ohad 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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/hwspinlock.c
b/arch/arm/mach-omap2/hwspinlock.c
index
454dfce
..
8763c85
100644
(file)
--- 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;