diff options
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-core.c | 4 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-video.c | 8 |
2 files changed, 3 insertions, 9 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index 92c48ee1591b..52baa4f7f7dd 100644 --- a/drivers/media/video/saa7134/saa7134-core.c +++ b/drivers/media/video/saa7134/saa7134-core.c | |||
@@ -1053,7 +1053,9 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev, | |||
1053 | printk(KERN_INFO "%s: registered device video%d [v4l2]\n", | 1053 | printk(KERN_INFO "%s: registered device video%d [v4l2]\n", |
1054 | dev->name,dev->video_dev->minor & 0x1f); | 1054 | dev->name,dev->video_dev->minor & 0x1f); |
1055 | 1055 | ||
1056 | dev->vbi_dev = vdev_init(dev,&saa7134_vbi_template,"vbi"); | 1056 | dev->vbi_dev = vdev_init(dev, &saa7134_video_template, "vbi"); |
1057 | dev->vbi_dev->type = VID_TYPE_TUNER | VID_TYPE_TELETEXT; | ||
1058 | |||
1057 | err = video_register_device(dev->vbi_dev,VFL_TYPE_VBI, | 1059 | err = video_register_device(dev->vbi_dev,VFL_TYPE_VBI, |
1058 | vbi_nr[dev->nr]); | 1060 | vbi_nr[dev->nr]); |
1059 | if (err < 0) | 1061 | if (err < 0) |
diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c index 6f9f9dbdfdd1..6a29b75beaa6 100644 --- a/drivers/media/video/saa7134/saa7134-video.c +++ b/drivers/media/video/saa7134/saa7134-video.c | |||
@@ -2406,14 +2406,6 @@ struct video_device saa7134_video_template = | |||
2406 | .current_norm = V4L2_STD_PAL, | 2406 | .current_norm = V4L2_STD_PAL, |
2407 | }; | 2407 | }; |
2408 | 2408 | ||
2409 | struct video_device saa7134_vbi_template = | ||
2410 | { | ||
2411 | .name = "saa7134-vbi", | ||
2412 | .type = VID_TYPE_TUNER|VID_TYPE_TELETEXT, | ||
2413 | .fops = &video_fops, | ||
2414 | .minor = -1, | ||
2415 | }; | ||
2416 | |||
2417 | struct video_device saa7134_radio_template = | 2409 | struct video_device saa7134_radio_template = |
2418 | { | 2410 | { |
2419 | .name = "saa7134-radio", | 2411 | .name = "saa7134-radio", |