projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6db35e
)
V4L/DVB (8810): gspca: Compile error when CONFIG_PM not defined.
author
Jean-Francois Moine
<moinejf@free.fr>
Wed, 3 Sep 2008 20:12:13 +0000
(17:12 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 3 Sep 2008 21:37:23 +0000
(18:37 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/gspca.c
b/drivers/media/video/gspca/gspca.c
index bffddf5277591232b439121cbc6eb1cbe6f40e08..28842ed24c090f59d7dee6c7a89536af7a7118fb 100644
(file)
--- a/
drivers/media/video/gspca/gspca.c
+++ b/
drivers/media/video/gspca/gspca.c
@@
-114,7
+114,9
@@
static void fill_frame(struct gspca_dev *gspca_dev,
cam_pkt_op pkt_scan;
if (urb->status != 0) {
+#ifdef CONFIG_PM
if (!gspca_dev->frozen)
+#endif
PDEBUG(D_ERR|D_PACK, "urb status: %d", urb->status);
return; /* disconnection ? */
}