diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-09-08 16:59:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-13 09:07:42 -0200 |
commit | 741e1f3b81c22c81f4ef401856cd22cad0bbd554 (patch) | |
tree | 6df7a59f579f45b2af95e79bd503058f51f2c4da /drivers/media/video/ivtv | |
parent | 46510b56ca56a25ce973d6a6e8490c1109ff94ef (diff) | |
download | kernel_samsung_smdk4412-741e1f3b81c22c81f4ef401856cd22cad0bbd554.zip kernel_samsung_smdk4412-741e1f3b81c22c81f4ef401856cd22cad0bbd554.tar.gz kernel_samsung_smdk4412-741e1f3b81c22c81f4ef401856cd22cad0bbd554.tar.bz2 |
V4L/DVB (9157): cx18/ivtv: add 'PCI:' prefix to bus_info.
Suggested by Martin Dauskardt. This is conform what the other drivers do.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c index f00854a..f5b289e 100644 --- a/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/drivers/media/video/ivtv/ivtv-ioctl.c @@ -750,7 +750,7 @@ static int ivtv_querycap(struct file *file, void *fh, struct v4l2_capability *vc strlcpy(vcap->driver, IVTV_DRIVER_NAME, sizeof(vcap->driver)); strlcpy(vcap->card, itv->card_name, sizeof(vcap->card)); - strlcpy(vcap->bus_info, pci_name(itv->dev), sizeof(vcap->bus_info)); + snprintf(vcap->bus_info, sizeof(vcap->bus_info), "PCI:%s", pci_name(itv->dev)); vcap->version = IVTV_DRIVER_VERSION; /* version */ vcap->capabilities = itv->v4l2_cap; /* capabilities */ return 0; |