projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aab646
)
ARM: OMAP: Make clock variables static
author
Juha Yrjola
<juha.yrjola@solidboot.com>
Mon, 26 Jun 2006 23:16:22 +0000
(16:16 -0700)
committer
Tony Lindgren
<tony@atomide.com>
Mon, 26 Jun 2006 23:16:22 +0000
(16:16 -0700)
Since the mutex protecting the clock list is static, the list
itself should be too.
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-omap/clock.c
b/arch/arm/plat-omap/clock.c
index
32ec04c
..
dcd9d81
100644
(file)
--- a/
arch/arm/plat-omap/clock.c
+++ b/
arch/arm/plat-omap/clock.c
@@
-28,9
+28,9
@@
#include <asm/arch/clock.h>
-LIST_HEAD(clocks);
+
static
LIST_HEAD(clocks);
static DEFINE_MUTEX(clocks_mutex);
-DEFINE_SPINLOCK(clockfw_lock);
+
static
DEFINE_SPINLOCK(clockfw_lock);
static struct clk_functions *arch_clock;