Commit 62ee8eee authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab

V4L/DVB (8810): gspca: Compile error when CONFIG_PM not defined.

Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d6db35e8
...@@ -114,7 +114,9 @@ static void fill_frame(struct gspca_dev *gspca_dev, ...@@ -114,7 +114,9 @@ static void fill_frame(struct gspca_dev *gspca_dev,
cam_pkt_op pkt_scan; cam_pkt_op pkt_scan;
if (urb->status != 0) { if (urb->status != 0) {
#ifdef CONFIG_PM
if (!gspca_dev->frozen) if (!gspca_dev->frozen)
#endif
PDEBUG(D_ERR|D_PACK, "urb status: %d", urb->status); PDEBUG(D_ERR|D_PACK, "urb status: %d", urb->status);
return; /* disconnection ? */ return; /* disconnection ? */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment