aboutsummaryrefslogtreecommitdiffstats
path: root/sound/i2c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-26 07:26:43 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-27 10:07:10 -0400
commit0ea6bc8d43c9ee3c5384bea184eab020927a5b2c (patch)
treef8e4988ac5612179b5fdd906e375bd1fde7ed636 /sound/i2c
parentc52e4f5836cff0a70a25665f475cf5294c9fe5eb (diff)
V4L/DVB (8523): v4l2-dev: remove unused type and type2 field from video_device
The type and type2 fields were unused and so could be removed. Instead add a vfl_type field that contains the type of the video device. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'sound/i2c')
-rw-r--r--sound/i2c/other/tea575x-tuner.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/i2c/other/tea575x-tuner.c b/sound/i2c/other/tea575x-tuner.c
index 187c9527725f..83e90057270e 100644
--- a/sound/i2c/other/tea575x-tuner.c
+++ b/sound/i2c/other/tea575x-tuner.c
@@ -190,7 +190,6 @@ void snd_tea575x_init(struct snd_tea575x *tea)
190 190
191 memset(&tea->vd, 0, sizeof(tea->vd)); 191 memset(&tea->vd, 0, sizeof(tea->vd));
192 strcpy(tea->vd.name, tea->tea5759 ? "TEA5759 radio" : "TEA5757 radio"); 192 strcpy(tea->vd.name, tea->tea5759 ? "TEA5759 radio" : "TEA5757 radio");
193 tea->vd.type = VID_TYPE_TUNER;
194 tea->vd.release = snd_tea575x_release; 193 tea->vd.release = snd_tea575x_release;
195 video_set_drvdata(&tea->vd, tea); 194 video_set_drvdata(&tea->vd, tea);
196 tea->vd.fops = &tea->fops; 195 tea->vd.fops = &tea->fops;