summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-09-23 08:25:28 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-24 02:31:52 (GMT)
commitee7dd4e06e843ffb873418ee9bf449b18f1552f6 (patch)
treeca21c8488f650c5534f3facf922aa640af9602d3
parentf22123faeda46cdd6a8586316a96543f90d9aba8 (diff)
downloadlinux-ee7dd4e06e843ffb873418ee9bf449b18f1552f6.tar.xz
[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>
-rw-r--r--drivers/media/video/gspca/gspca.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index 137abe2..881e04c 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)