[AIO] kernel->support uvc camera hot plug

This commit is contained in:
sujl
2018-01-12 14:33:58 +08:00
committed by cjp
parent bace68978f
commit e8fca1a29b

View File

@ -973,6 +973,7 @@ void video_unregister_device(struct video_device *vdev)
*/
clear_bit(V4L2_FL_REGISTERED, &vdev->flags);
mutex_unlock(&videodev_lock);
devnode_clear(vdev);
device_unregister(&vdev->dev);
}
EXPORT_SYMBOL(video_unregister_device);