]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/media/video/cx23885/cx23885-video.c
V4L/DVB (13550): v4l: Use the new video_device_node_name function
[net-next-2.6.git] / drivers / media / video / cx23885 / cx23885-video.c
index 8b372b4f0de251fc8cb8244eced68833cae26dac..5570383fa332fba54f6252ef892eb1ab79c0c50f 100644 (file)
@@ -1532,8 +1532,8 @@ int cx23885_video_register(struct cx23885_dev *dev)
                        dev->name);
                goto fail_unreg;
        }
-       printk(KERN_INFO "%s/0: registered device video%d [v4l2]\n",
-              dev->name, dev->video_dev->num);
+       printk(KERN_INFO "%s/0: registered device %s [v4l2]\n",
+              dev->name, video_device_node_name(dev->video_dev));
        /* initial device configuration */
        mutex_lock(&dev->lock);
        cx23885_set_tvnorm(dev, dev->tvnorm);