Skip to content

Commit

Permalink
vfc_dev conversion to mutex: fallout
Browse files Browse the repository at this point in the history
Commit 7b96dc0 ("[SPARC] Videopix Frame
Grabber: Convert device_lock_sem to mutex") missed one place.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 20, 2007
1 parent e91a810 commit 8add244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sbus/char/vfc_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8add244

Please sign in to comment.