Skip to contentSkip to conversation

vfc_dev conversion to mutex: fallout

PATCH New Al Viro 1 participant 1 message Oct 21, 2007 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 vfc_dev conversion to mutex: fallout

	commit 7b96dc023a1b487bce59256fde14b8bb28b45aea had missed one

place.

---

drivers/sbus/char/vfc_dev.c +1 -1
index e7a1642..d4f8fcd 100644
@@ -134,7 +134,7 @@ int init_vfc_hw(struct vfc_dev *dev)
 int init_vfc_devstruct(struct vfc_dev *dev, int instance) 
 {
 	dev->instance=instance;
-	init_MUTEX(&dev->device_lock_sem);
+	mutex_init(&dev->device_lock_mtx);
 	dev->control_reg=0;
 	dev->busy=0;
 	return 0;