aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sbus')
-rw-r--r--drivers/sbus/char/vfc_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c
index e7a1642b2aa4..d4f8fcded51d 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)
134int init_vfc_devstruct(struct vfc_dev *dev, int instance) 134int init_vfc_devstruct(struct vfc_dev *dev, int instance)
135{ 135{
136 dev->instance=instance; 136 dev->instance=instance;
137 init_MUTEX(&dev->device_lock_sem); 137 mutex_init(&dev->device_lock_mtx);
138 dev->control_reg=0; 138 dev->control_reg=0;
139 dev->busy=0; 139 dev->busy=0;
140 return 0; 140 return 0;