aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-03-24 08:36:32 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:50:21 -0400
commitd1875d65599e187feb92994af33f409612e05ca3 (patch)
treeee0bb538dc0068b448c1c608016e880ea0a5ef62 /drivers/media/video/gspca/gspca.c
parenta82437510256b83671e49a23774c9c5ce0d4ab00 (diff)
V4L/DVB: gspca: fixes compilation when input is not selected
It seems that I merged a wrong version of the patch or that changeset 4d770eeb926d0bc44c0bd68d051d3d2a5568ef41 got mangled somehow: It were missed the #else to avoid compilation troubles. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.c')
-rw-r--r--drivers/media/video/gspca/gspca.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index 415949526eec..1830ea9e73b0 100644
--- a/drivers/media/video/gspca/gspca.c
+++ b/drivers/media/video/gspca/gspca.c
@@ -279,10 +279,6 @@ static void gspca_input_destroy_urb(struct gspca_dev *gspca_dev)
279 usb_free_urb(urb); 279 usb_free_urb(urb);
280 } 280 }
281} 281}
282#else
283#define gspca_input_connect(gspca_dev) 0
284#define gspca_input_create_urb(gspca_dev)
285#define gspca_input_destroy_urb(gspca_dev)
286#endif 282#endif
287 283
288/* get the current input frame buffer */ 284/* get the current input frame buffer */