[media] gspca - main: Display the subdriver name and version at probe time
authorJean-François Moine <moinejf@free.fr>
Fri, 23 Sep 2011 08:25:28 +0000 (05:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 24 Sep 2011 02:31:52 +0000 (23:31 -0300)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c

index 137abe2c19bf04deb16fd011cae7568882acbc12..881e04c7ffe6dd91f5a96f12aaebe236a7bfba5c 100644 (file)
@@ -2281,7 +2281,8 @@ int gspca_dev_probe2(struct usb_interface *intf,
        struct usb_device *dev = interface_to_usbdev(intf);
        int ret;
 
-       PDEBUG(D_PROBE, "probing %04x:%04x", id->idVendor, id->idProduct);
+       pr_info("%s-" GSPCA_VERSION " probing %04x:%04x\n",
+               sd_desc->name, id->idVendor, id->idProduct);
 
        /* create the device */
        if (dev_size < sizeof *gspca_dev)