提交 a2efdd7b 编写于 作者: J Jean-François Moine 提交者: Mauro Carvalho Chehab

V4L/DVB: gspca - cpia1: Fix compilation warning when gspca debug disabled

Signed-off-by: NJean-François Moine <moinejf@free.fr>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 8129888a
...@@ -1753,7 +1753,9 @@ static void sd_stopN(struct gspca_dev *gspca_dev) ...@@ -1753,7 +1753,9 @@ static void sd_stopN(struct gspca_dev *gspca_dev)
/* this function is called at probe and resume time */ /* this function is called at probe and resume time */
static int sd_init(struct gspca_dev *gspca_dev) static int sd_init(struct gspca_dev *gspca_dev)
{ {
#ifdef GSPCA_DEBUG
struct sd *sd = (struct sd *) gspca_dev; struct sd *sd = (struct sd *) gspca_dev;
#endif
int ret; int ret;
/* Start / Stop the camera to make sure we are talking to /* Start / Stop the camera to make sure we are talking to
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册