[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>
This commit is contained in:
Jean-François Moine 2011-09-23 05:25:28 -03:00 committed by Mauro Carvalho Chehab
parent f22123faed
commit ee7dd4e06e
1 changed files with 2 additions and 1 deletions

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