aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-09-25 02:23:34 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:18 -0400
commita2efdd7b189a1ed0413b058a77c3529fb0758e80 (patch)
tree0fea6920480102deb1c790c791589b42223390c9 /drivers/media/video/gspca
parent8129888a7ab2c903562d7a6e49f6884858eb55e8 (diff)
V4L/DVB: gspca - cpia1: Fix compilation warning when gspca debug disabled
Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/cpia1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/cpia1.c b/drivers/media/video/gspca/cpia1.c
index 203bab9318e6..9b121681d135 100644
--- a/drivers/media/video/gspca/cpia1.c
+++ b/drivers/media/video/gspca/cpia1.c
@@ -1753,7 +1753,9 @@ static void sd_stopN(struct gspca_dev *gspca_dev)
1753/* this function is called at probe and resume time */ 1753/* this function is called at probe and resume time */
1754static int sd_init(struct gspca_dev *gspca_dev) 1754static int sd_init(struct gspca_dev *gspca_dev)
1755{ 1755{
1756#ifdef GSPCA_DEBUG
1756 struct sd *sd = (struct sd *) gspca_dev; 1757 struct sd *sd = (struct sd *) gspca_dev;
1758#endif
1757 int ret; 1759 int ret;
1758 1760
1759 /* Start / Stop the camera to make sure we are talking to 1761 /* Start / Stop the camera to make sure we are talking to