V4L/DVB: em28xx: g_tuner must set type field
[safe/jmp/linux-2.6] / drivers / media / video / em28xx / em28xx-video.c
index 8565fb3..20090e3 100644 (file)
@@ -1500,6 +1500,7 @@ static int vidioc_g_tuner(struct file *file, void *priv,
                return -EINVAL;
 
        strcpy(t->name, "Tuner");
+       t->type = V4L2_TUNER_ANALOG_TV;
 
        mutex_lock(&dev->lock);
        v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t);