[media] radio-sf16fmi: Add module name to bus_info
authorOndrej Zary <linux@rainbow-software.org>
Fri, 14 Jun 2013 20:01:38 +0000 (17:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Jun 2013 14:29:41 +0000 (11:29 -0300)
Fix v4l2-compliance in VIDIOC_QUERYCAP by changing "ISA" to "ISA:radio-sf16fmi".

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-sf16fmi.c

index 9e712c8310f27a253f0d51dcb60d4957152bc046..ed7299d42a24e42138625265b5633157a8ebe5df 100644 (file)
@@ -123,7 +123,7 @@ static int vidioc_querycap(struct file *file, void  *priv,
 {
        strlcpy(v->driver, "radio-sf16fmi", sizeof(v->driver));
        strlcpy(v->card, "SF16-FMI/FMP/FMD radio", sizeof(v->card));
-       strlcpy(v->bus_info, "ISA", sizeof(v->bus_info));
+       strlcpy(v->bus_info, "ISA:radio-sf16fmi", sizeof(v->bus_info));
        v->device_caps = V4L2_CAP_TUNER | V4L2_CAP_RADIO;
        v->capabilities = v->device_caps | V4L2_CAP_DEVICE_CAPS;
        return 0;