Commit 8add2441 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

vfc_dev conversion to mutex: fallout

Commit 7b96dc02 ("[SPARC] Videopix Frame
Grabber: Convert device_lock_sem to mutex") missed one place.
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e91a810e
...@@ -134,7 +134,7 @@ int init_vfc_hw(struct vfc_dev *dev) ...@@ -134,7 +134,7 @@ int init_vfc_hw(struct vfc_dev *dev)
int init_vfc_devstruct(struct vfc_dev *dev, int instance) int init_vfc_devstruct(struct vfc_dev *dev, int instance)
{ {
dev->instance=instance; dev->instance=instance;
init_MUTEX(&dev->device_lock_sem); mutex_init(&dev->device_lock_mtx);
dev->control_reg=0; dev->control_reg=0;
dev->busy=0; dev->busy=0;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment