[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20071020204753.GT8181@ftp.linux.org.uk>
Date: Sat, 20 Oct 2007 21:47:53 +0100
From: Al Viro <viro@....linux.org.uk>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: davem@...eloft.net, linux-kernel@...r.kernel.org
Subject: [PATCH] vfc_dev conversion to mutex: fallout
commit 7b96dc023a1b487bce59256fde14b8bb28b45aea had missed one
place.
Signed-off-by: Al Viro <viro@...iv.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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists