summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c
diff options
context:
space:
mode:
authorTheodore Kilgore2013-02-04 17:17:55 +0100
committerMauro Carvalho Chehab2013-03-05 19:13:48 +0100
commitc93396e13576928a073154b5715761ff8a998368 (patch)
tree2ef9873a27412fe6d5dbe361d7298301510573f6 /drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c
parent[media] gspca: Remove old control code now that all drivers are converted (diff)
downloadkernel-qcow2-linux-c93396e13576928a073154b5715761ff8a998368.tar.gz
kernel-qcow2-linux-c93396e13576928a073154b5715761ff8a998368.tar.xz
kernel-qcow2-linux-c93396e13576928a073154b5715761ff8a998368.zip
[media] gspca: Remove gspca-specific debug magic
Instead use v4l2_dbg and v4l2_err. Note that the PDEBUG macro is kept to make this patch-set less invasive, but it is simply a wrapper around v4l2_dbg now. Most of the other changes are there to make the dev parameter for the v4l2_xxx macros available everywhere we do logging. Signed-off-by: Theodore Kilgore <kilgota@auburn.edu> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c')
-rw-r--r--drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c b/drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c
index 8a57990dfe0f..515a9e121653 100644
--- a/drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c
+++ b/drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c
@@ -279,6 +279,8 @@ static int st6422_start(struct sd *sd)
static int st6422_stop(struct sd *sd)
{
+ struct gspca_dev *gspca_dev = (struct gspca_dev *)sd;
+
PDEBUG(D_STREAM, "Halting stream");
return 0;