Commit ee7dd4e0 authored by Jean-François Moine's avatar Jean-François Moine Committed by Mauro Carvalho Chehab

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

Signed-off-by: default avatarJean-François Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f22123fa
...@@ -2281,7 +2281,8 @@ int gspca_dev_probe2(struct usb_interface *intf, ...@@ -2281,7 +2281,8 @@ int gspca_dev_probe2(struct usb_interface *intf,
struct usb_device *dev = interface_to_usbdev(intf); struct usb_device *dev = interface_to_usbdev(intf);
int ret; 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 */ /* create the device */
if (dev_size < sizeof *gspca_dev) if (dev_size < sizeof *gspca_dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment