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>
#include <asm/arch/clock.h>
#include <asm/arch/clock.h>
+static LIST_HEAD(clocks);
static DEFINE_MUTEX(clocks_mutex);
static DEFINE_MUTEX(clocks_mutex);
-DEFINE_SPINLOCK(clockfw_lock);
+static DEFINE_SPINLOCK(clockfw_lock);
static struct clk_functions *arch_clock;
static struct clk_functions *arch_clock;