diff options
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r-- | drivers/media/video/gspca/gspca.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h index 453e43d66a83..17e55580631e 100644 --- a/drivers/media/video/gspca/gspca.h +++ b/drivers/media/video/gspca/gspca.h | |||
@@ -178,11 +178,11 @@ struct gspca_dev { | |||
178 | u8 *image; /* image beeing filled */ | 178 | u8 *image; /* image beeing filled */ |
179 | __u32 frsz; /* frame size */ | 179 | __u32 frsz; /* frame size */ |
180 | u32 image_len; /* current length of image */ | 180 | u32 image_len; /* current length of image */ |
181 | char nframes; /* number of frames */ | 181 | atomic_t fr_q; /* next frame to queue */ |
182 | char fr_i; /* frame being filled */ | 182 | atomic_t fr_i; /* frame being filled */ |
183 | char fr_q; /* next frame to queue */ | ||
184 | char fr_o; /* next frame to dequeue */ | ||
185 | signed char fr_queue[GSPCA_MAX_FRAMES]; /* frame queue */ | 183 | signed char fr_queue[GSPCA_MAX_FRAMES]; /* frame queue */ |
184 | char nframes; /* number of frames */ | ||
185 | u8 fr_o; /* next frame to dequeue */ | ||
186 | __u8 last_packet_type; | 186 | __u8 last_packet_type; |
187 | __s8 empty_packet; /* if (-1) don't check empty packets */ | 187 | __s8 empty_packet; /* if (-1) don't check empty packets */ |
188 | __u8 streaming; | 188 | __u8 streaming; |