summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/v4l2-dev.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-12 02:10:06 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-12 02:10:06 -0200
commit5021ce47870d8ce6b8efe93938138795dcc16553 (patch)
tree1a21631be8d469ae591d7d997bd1f378287a526a /linux/drivers/media/video/v4l2-dev.c
parentd2fdf36ebdc0970621958a5b6a7df809ed103bf8 (diff)
parenta3c3f7456fd59e54b7c0333ca9bb32b8be70044e (diff)
downloadmediapointer-dvb-s2-5021ce47870d8ce6b8efe93938138795dcc16553.tar.gz
mediapointer-dvb-s2-5021ce47870d8ce6b8efe93938138795dcc16553.tar.bz2
merge: http://linuxtv.org/hg/~awalls/cx18-bugfix
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/v4l2-dev.c')
-rw-r--r--linux/drivers/media/video/v4l2-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/v4l2-dev.c b/linux/drivers/media/video/v4l2-dev.c
index 742efc74c..3b8f33c8d 100644
--- a/linux/drivers/media/video/v4l2-dev.c
+++ b/linux/drivers/media/video/v4l2-dev.c
@@ -381,7 +381,7 @@ int video_register_device_index(struct video_device *vfd, int type, int nr,
#else
if (vfd->parent)
vfd->dev.parent = vfd->parent;
- sprintf(vfd->dev.bus_id, "%s%d", name_base, nr);
+ dev_set_name(&vfd->dev, "%s%d", name_base, nr);
ret = device_register(&vfd->dev);
#endif
if (ret < 0) {