diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-09-03 16:12:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-03 17:37:23 -0400 |
commit | 62ee8eeebd1bf6c29977800ac18dfcecf584d42e (patch) | |
tree | 844b796e8da1e854207cdf7f1643beddcedc2440 /drivers/media | |
parent | d6db35e89c420d867e9ffdf145ecf2cb1b91291b (diff) |
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/gspca/gspca.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index bffddf527759..28842ed24c09 100644 --- 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, | |||
114 | cam_pkt_op pkt_scan; | 114 | cam_pkt_op pkt_scan; |
115 | 115 | ||
116 | if (urb->status != 0) { | 116 | if (urb->status != 0) { |
117 | #ifdef CONFIG_PM | ||
117 | if (!gspca_dev->frozen) | 118 | if (!gspca_dev->frozen) |
119 | #endif | ||
118 | PDEBUG(D_ERR|D_PACK, "urb status: %d", urb->status); | 120 | PDEBUG(D_ERR|D_PACK, "urb status: %d", urb->status); |
119 | return; /* disconnection ? */ | 121 | return; /* disconnection ? */ |
120 | } | 122 | } |