]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/vr41xx/common/vrc4173.c
manual update from upstream:
[linux-2.6-omap-h63xx.git] / arch / mips / vr41xx / common / vrc4173.c
index ba58764ef8ead5b0613fa13424caa50c336446c9..462a9af30eef7fb3d341cd7a3eddf2c42f055547 100644 (file)
@@ -81,8 +81,8 @@ EXPORT_SYMBOL(vrc4173_io_offset);
 static int vrc4173_initialized;
 static uint16_t vrc4173_cmuclkmsk;
 static uint16_t vrc4173_selectreg;
-static spinlock_t vrc4173_cmu_lock;
-static spinlock_t vrc4173_giu_lock;
+static DEFINE_SPINLOCK(vrc4173_cmu_lock);
+static DEFINE_SPINLOCK(vrc4173_giu_lock);
 
 static inline void set_cmusrst(uint16_t val)
 {