diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-11 09:48:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 09:36:26 -0400 |
commit | 9efd85dfff92d9b52675045362677064321332bf (patch) | |
tree | b6d253375d1045a402f84570fae5a6b181524cd3 /drivers/staging/tm6000/tm6000.h | |
parent | 4ae18398008d9a7fdddc6beb2e0b85fcc9cf093d (diff) |
[media] tm6000: fix resource locking
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000.h')
-rw-r--r-- | drivers/staging/tm6000/tm6000.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000.h b/drivers/staging/tm6000/tm6000.h index 5d9dcab5c87..a1c6ca2647e 100644 --- a/drivers/staging/tm6000/tm6000.h +++ b/drivers/staging/tm6000/tm6000.h | |||
@@ -189,7 +189,9 @@ struct tm6000_core { | |||
189 | int users; | 189 | int users; |
190 | 190 | ||
191 | /* various device info */ | 191 | /* various device info */ |
192 | unsigned int resources; | 192 | struct tm6000_fh *resources; /* Points to fh that is streaming */ |
193 | bool is_res_read; | ||
194 | |||
193 | struct video_device *vfd; | 195 | struct video_device *vfd; |
194 | struct tm6000_dmaqueue vidq; | 196 | struct tm6000_dmaqueue vidq; |
195 | struct v4l2_device v4l2_dev; | 197 | struct v4l2_device v4l2_dev; |