提交 8add2441 编写于 作者: A Al Viro 提交者: 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: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册