Explorar o código

[media] gspca - main: Display the subdriver name and version at probe time

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Jean-François Moine %!s(int64=14) %!d(string=hai) anos
pai
achega
ee7dd4e06e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      drivers/media/video/gspca/gspca.c

+ 2 - 1
drivers/media/video/gspca/gspca.c

@@ -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)