projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8e5677
)
[media] gspca - cpia1: Remove a bad conditional compilation instruction
author
Jean-François Moine
<moinejf@free.fr>
Tue, 17 May 2011 07:15:15 +0000
(
04:15
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 21 May 2011 12:34:45 +0000
(09:34 -0300)
This patch fixes a compilation error when GSPCA_DEBUG is not set.
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
7e08354
..
f2a9451
100644
(file)
--- a/
drivers/media/video/gspca/cpia1.c
+++ b/
drivers/media/video/gspca/cpia1.c
@@
-1770,9
+1770,7
@@
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