Skip to content

Commit

Permalink
[media] gspca - main: Display the subdriver name and version at probe…
Browse files Browse the repository at this point in the history
… time

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Sep 24, 2011
1 parent f22123f commit ee7dd4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/video/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ee7dd4e

Please sign in to comment.