mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-22 12:33:59 +08:00
V4L/DVB (8810): gspca: Compile error when CONFIG_PM not defined.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
d6db35e89c
commit
62ee8eeebd
@ -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 ? */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user