[ARM] S3C24XX: Change clock locking to use spinlocks.
[deliverable/linux.git] / arch / arm / plat-s3c24xx / include / plat / clock.h
index 235b753cd877a94d290201196e9a845be9733853..88a00c35b685de116b83b4f14acbd21904a11c37 100644 (file)
@@ -10,6 +10,8 @@
  * published by the Free Software Foundation.
 */
 
+#include <linux/spinlock.h>
+
 struct clk {
        struct list_head      list;
        struct module        *owner;
@@ -51,7 +53,7 @@ extern struct clk clk_xtal;
  * Please DO NOT use these outside of arch/arm/mach-s3c2410
 */
 
-extern struct mutex clocks_mutex;
+extern spinlock_t clocks_lock;
 
 extern int s3c2410_clkcon_enable(struct clk *clk, int enable);
 
This page took 0.050005 seconds and 5 git commands to generate.