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

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

parent d6db35e8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 ? */
	}