From: Jean-François Moine Date: Fri, 23 Sep 2011 08:25:28 +0000 (-0300) Subject: [media] gspca - main: Display the subdriver name and version at probe time X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ee7dd4e06e843ffb873418ee9bf449b18f1552f6;p=mv-sheeva.git [media] gspca - main: Display the subdriver name and version at probe time Signed-off-by: Jean-François Moine Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 137abe2c19b..881e04c7ffe 100644 --- a/drivers/media/video/gspca/gspca.c +++ b/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)