aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/v4l2-dev.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/v4l2-dev.c b/drivers/media/video/v4l2-dev.c
index 66bd74b58b06..fda48a2efda6 100644
--- a/drivers/media/video/v4l2-dev.c
+++ b/drivers/media/video/v4l2-dev.c
@@ -73,6 +73,13 @@ void video_device_release(struct video_device *vfd)
73} 73}
74EXPORT_SYMBOL(video_device_release); 74EXPORT_SYMBOL(video_device_release);
75 75
76void video_device_release_empty(struct video_device *vfd)
77{
78 /* Do nothing */
79 /* Only valid when the video_device struct is a static. */
80}
81EXPORT_SYMBOL(video_device_release_empty);
82
76static void video_release(struct device *cd) 83static void video_release(struct device *cd)
77{ 84{
78 struct video_device *vfd = container_of(cd, struct video_device, dev); 85 struct video_device *vfd = container_of(cd, struct video_device, dev);