summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio/radio-terratec.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/radio/radio-terratec.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/radio/radio-terratec.c')
-rw-r--r--linux/drivers/media/radio/radio-terratec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/radio/radio-terratec.c b/linux/drivers/media/radio/radio-terratec.c
index 8a68efe9f..9009d2bbe 100644
--- a/linux/drivers/media/radio/radio-terratec.c
+++ b/linux/drivers/media/radio/radio-terratec.c
@@ -399,6 +399,7 @@ static struct video_device terratec_radio = {
.name = "TerraTec ActiveRadio",
.fops = &terratec_fops,
.ioctl_ops = &terratec_ioctl_ops,
+ .release = video_device_release_empty,
};
static int __init terratec_init(void)