public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vfc_dev conversion to mutex: fallout
@ 2007-10-20 20:47 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2007-10-20 20:47 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: davem, linux-kernel

	commit 7b96dc023a1b487bce59256fde14b8bb28b45aea had missed one
place.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c
index e7a1642..d4f8fcd 100644
--- a/drivers/sbus/char/vfc_dev.c
+++ b/drivers/sbus/char/vfc_dev.c
@@ -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;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-21  3:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-20 20:47 [PATCH] vfc_dev conversion to mutex: fallout Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox