summaryrefslogtreecommitdiff
path: root/drivers/media/usb/gspca/t613.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-12-21 11:01:48 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-21 13:38:39 -0200
commit8547fd18e9009ea0f010c5ec7463d61efa72b555 (patch)
tree91e075fff7cd7d877971b74e5242069c4f7e6d73 /drivers/media/usb/gspca/t613.c
parentd83fcb793b8a17d2ea29e3450295094c12693f80 (diff)
[media] gspca_t613: Fix compiling with GSPCA_DEBUG defined
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/t613.c')
-rw-r--r--drivers/media/usb/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/gspca/t613.c b/drivers/media/usb/gspca/t613.c
index 8bc6c3ceec2c..b92d4ef2de6e 100644
--- a/drivers/media/usb/gspca/t613.c
+++ b/drivers/media/usb/gspca/t613.c
@@ -494,7 +494,7 @@ static void setcolors(struct gspca_dev *gspca_dev, s32 val)
static void setgamma(struct gspca_dev *gspca_dev, s32 val)
{
- PDEBUG(D_CONF, "Gamma: %d", sd->gamma);
+ PDEBUG(D_CONF, "Gamma: %d", val);
reg_w_ixbuf(gspca_dev, 0x90,
gamma_table[val], sizeof gamma_table[0]);
}