[media] coda: v4l2-compliance fix: add bus_info prefix 'platform'
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 21 May 2013 07:18:22 +0000 (04:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 27 May 2013 12:31:22 +0000 (09:31 -0300)
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/coda.c

index 48b8d7af386d5538bdc8b28219dd168cd540fcbd..d64908a74000e38be1133de599ff78670d60c9ba 100644 (file)
@@ -323,7 +323,7 @@ static int vidioc_querycap(struct file *file, void *priv,
 {
        strlcpy(cap->driver, CODA_NAME, sizeof(cap->driver));
        strlcpy(cap->card, CODA_NAME, sizeof(cap->card));
-       strlcpy(cap->bus_info, CODA_NAME, sizeof(cap->bus_info));
+       strlcpy(cap->bus_info, "platform:" CODA_NAME, sizeof(cap->bus_info));
        /*
         * This is only a mem-to-mem video device. The capture and output
         * device capability flags are left only for backward compatibility