提交 d1875d65 编写于 作者: M Mauro Carvalho Chehab

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: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 a8243751
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册