|
@@ -253,6 +253,7 @@ int v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev)
|
|
kfree(vdev);
|
|
kfree(vdev);
|
|
goto clean_up;
|
|
goto clean_up;
|
|
}
|
|
}
|
|
|
|
+ sd->devnode = vdev;
|
|
#if defined(CONFIG_MEDIA_CONTROLLER)
|
|
#if defined(CONFIG_MEDIA_CONTROLLER)
|
|
sd->entity.info.dev.major = VIDEO_MAJOR;
|
|
sd->entity.info.dev.major = VIDEO_MAJOR;
|
|
sd->entity.info.dev.minor = vdev->minor;
|
|
sd->entity.info.dev.minor = vdev->minor;
|
|
@@ -270,7 +271,6 @@ int v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
- sd->devnode = vdev;
|
|
|
|
}
|
|
}
|
|
return 0;
|
|
return 0;
|
|
|
|
|