Skip to content

Commit

Permalink
V4L/DVB: gspca: fixes compilation when input is not selected
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed May 18, 2010
1 parent a824375 commit d1875d6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/media/video/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d1875d6

Please sign in to comment.