summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/se401.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-23 11:23:55 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-08-23 11:23:55 +0200
commit1342dc3012002c994885d1ad6efd6c819fa2805e (patch)
treebeaaeee7fdbed6a1e127a9cf6347dbf548168d12 /linux/drivers/media/video/se401.c
parent79721c4957171ea0fdaf1fa6565e7699dad1b76e (diff)
downloadmediapointer-dvb-s2-1342dc3012002c994885d1ad6efd6c819fa2805e.tar.gz
mediapointer-dvb-s2-1342dc3012002c994885d1ad6efd6c819fa2805e.tar.bz2
v4l: add all missing video_device release callbacks
From: Hans Verkuil <hverkuil@xs4all.nl> All drivers that call video_device_register where checked to see if they set the release callback of struct video_device. Where that callback was missing it was added. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/se401.c')
-rw-r--r--linux/drivers/media/video/se401.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/se401.c b/linux/drivers/media/video/se401.c
index de99c561d..4b55b7dd7 100644
--- a/linux/drivers/media/video/se401.c
+++ b/linux/drivers/media/video/se401.c
@@ -1244,6 +1244,7 @@ static const struct file_operations se401_fops = {
static struct video_device se401_template = {
.name = "se401 USB camera",
.fops = &se401_fops,
+ .release = video_device_release_empty,
};