diff options
author | Mauro Carvalho Chehab | 2010-10-11 15:48:11 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2010-10-21 15:36:26 +0200 |
commit | 9efd85dfff92d9b52675045362677064321332bf (patch) | |
tree | b6d253375d1045a402f84570fae5a6b181524cd3 /drivers/staging/tm6000/tm6000.h | |
parent | [media] tm6000: Use just one lock for devlist (diff) | |
download | kernel-qcow2-linux-9efd85dfff92d9b52675045362677064321332bf.tar.gz kernel-qcow2-linux-9efd85dfff92d9b52675045362677064321332bf.tar.xz kernel-qcow2-linux-9efd85dfff92d9b52675045362677064321332bf.zip |
[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 5d9dcab5c87d..a1c6ca2647ef 100644 --- a/drivers/staging/tm6000/tm6000.h +++ b/drivers/staging/tm6000/tm6000.h @@ -189,7 +189,9 @@ struct tm6000_core { int users; /* various device info */ - unsigned int resources; + struct tm6000_fh *resources; /* Points to fh that is streaming */ + bool is_res_read; + struct video_device *vfd; struct tm6000_dmaqueue vidq; struct v4l2_device v4l2_dev; |