projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8129888
)
V4L/DVB: gspca - cpia1: Fix compilation warning when gspca debug disabled
author
Jean-François Moine
<moinejf@free.fr>
Sat, 25 Sep 2010 06:23:34 +0000
(
03:23
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:18 +0000
(
01:06
-0200)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/cpia1.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/cpia1.c
b/drivers/media/video/gspca/cpia1.c
index 203bab9318e69f7f9df53aefc6ff1cd431685e87..9b121681d135e04d2a921fa7d74f304aad01d0a1 100644
(file)
--- 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)
/* this function is called at probe and resume time */
static int sd_init(struct gspca_dev *gspca_dev)
{
+#ifdef GSPCA_DEBUG
struct sd *sd = (struct sd *) gspca_dev;
+#endif
int ret;
/* Start / Stop the camera to make sure we are talking to