From: Mauro Carvalho Chehab Date: Wed, 24 Mar 2010 12:36:32 +0000 (-0300) Subject: V4L/DVB: gspca: fixes compilation when input is not selected X-Git-Tag: v3.0~4938^2~321 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1875d65599e187feb92994af33f409612e05ca3;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 4159495..1830ea9e 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) usb_free_urb(urb); } } -#else -#define gspca_input_connect(gspca_dev) 0 -#define gspca_input_create_urb(gspca_dev) -#define gspca_input_destroy_urb(gspca_dev) #endif /* get the current input frame buffer */