diff options
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-driver.c')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-driver.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index a6724019c66f..d57618319896 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c | |||
@@ -4244,8 +4244,8 @@ static int __devinit bttv_register_video(struct bttv *btv) | |||
4244 | if (video_register_device(btv->video_dev, VFL_TYPE_GRABBER, | 4244 | if (video_register_device(btv->video_dev, VFL_TYPE_GRABBER, |
4245 | video_nr[btv->c.nr]) < 0) | 4245 | video_nr[btv->c.nr]) < 0) |
4246 | goto err; | 4246 | goto err; |
4247 | printk(KERN_INFO "bttv%d: registered device video%d\n", | 4247 | printk(KERN_INFO "bttv%d: registered device %s\n", |
4248 | btv->c.nr, btv->video_dev->num); | 4248 | btv->c.nr, video_device_node_name(btv->video_dev)); |
4249 | if (device_create_file(&btv->video_dev->dev, | 4249 | if (device_create_file(&btv->video_dev->dev, |
4250 | &dev_attr_card)<0) { | 4250 | &dev_attr_card)<0) { |
4251 | printk(KERN_ERR "bttv%d: device_create_file 'card' " | 4251 | printk(KERN_ERR "bttv%d: device_create_file 'card' " |
@@ -4261,8 +4261,8 @@ static int __devinit bttv_register_video(struct bttv *btv) | |||
4261 | if (video_register_device(btv->vbi_dev, VFL_TYPE_VBI, | 4261 | if (video_register_device(btv->vbi_dev, VFL_TYPE_VBI, |
4262 | vbi_nr[btv->c.nr]) < 0) | 4262 | vbi_nr[btv->c.nr]) < 0) |
4263 | goto err; | 4263 | goto err; |
4264 | printk(KERN_INFO "bttv%d: registered device vbi%d\n", | 4264 | printk(KERN_INFO "bttv%d: registered device %s\n", |
4265 | btv->c.nr, btv->vbi_dev->num); | 4265 | btv->c.nr, video_device_node_name(btv->vbi_dev)); |
4266 | 4266 | ||
4267 | if (!btv->has_radio) | 4267 | if (!btv->has_radio) |
4268 | return 0; | 4268 | return 0; |
@@ -4273,8 +4273,8 @@ static int __devinit bttv_register_video(struct bttv *btv) | |||
4273 | if (video_register_device(btv->radio_dev, VFL_TYPE_RADIO, | 4273 | if (video_register_device(btv->radio_dev, VFL_TYPE_RADIO, |
4274 | radio_nr[btv->c.nr]) < 0) | 4274 | radio_nr[btv->c.nr]) < 0) |
4275 | goto err; | 4275 | goto err; |
4276 | printk(KERN_INFO "bttv%d: registered device radio%d\n", | 4276 | printk(KERN_INFO "bttv%d: registered device %s\n", |
4277 | btv->c.nr, btv->radio_dev->num); | 4277 | btv->c.nr, video_device_node_name(btv->radio_dev)); |
4278 | 4278 | ||
4279 | /* all done */ | 4279 | /* all done */ |
4280 | return 0; | 4280 | return 0; |