aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/gspca.h
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-08 06:58:15 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 07:18:04 -0300
commitac0d6df69bc72eabda944fd14a958074dc08ca0c (patch)
tree28d452f1d5f4ca2316b8e1ad11c7476998567407 /drivers/media/video/gspca/gspca.h
parentc41492c89a00630c7482eae25deaf9af91b73c98 (diff)
V4L/DVB (8232): gspca: Change the USERPTR mechanism.
main: Change the packet copy mechanism for userptr. Cannot do reqbufs ioctl when already done and count != 0. Accept count < frame size in read(). Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r--drivers/media/video/gspca/gspca.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index 945f1ab4c9e..9b645af81a0 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -156,8 +156,6 @@ struct gspca_dev {
char nbufread; /* number of buffers for read() */
char nurbs; /* number of allocated URBs */
char memory; /* memory type (V4L2_MEMORY_xxx) */
- __u8 urb_in; /* URB pointers - used when !mmap */
- __u8 urb_out;
__u8 nbalt; /* number of USB alternate settings */
};