diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-02-07 03:49:14 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-02-07 03:49:14 -0500 |
commit | 3593cab5d62c4c7abced1076710f9bc2d8847433 (patch) | |
tree | dd5dc21961f6b4aef6900b0c2eb63ce7c70aecd5 /drivers/media/dvb/bt8xx/dvb-bt8xx.h | |
parent | 538f9630afbbe429ecbcdcf92536200293a8e4b3 (diff) |
V4L/DVB (3318b): sem2mutex: drivers/media/, #2
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/bt8xx/dvb-bt8xx.h')
-rw-r--r-- | drivers/media/dvb/bt8xx/dvb-bt8xx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.h b/drivers/media/dvb/bt8xx/dvb-bt8xx.h index cf035a80361c..00dd9fa54c82 100644 --- a/drivers/media/dvb/bt8xx/dvb-bt8xx.h +++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.h | |||
@@ -26,6 +26,7 @@ | |||
26 | #define DVB_BT8XX_H | 26 | #define DVB_BT8XX_H |
27 | 27 | ||
28 | #include <linux/i2c.h> | 28 | #include <linux/i2c.h> |
29 | #include <linux/mutex.h> | ||
29 | #include "dvbdev.h" | 30 | #include "dvbdev.h" |
30 | #include "dvb_net.h" | 31 | #include "dvb_net.h" |
31 | #include "bttv.h" | 32 | #include "bttv.h" |
@@ -38,7 +39,7 @@ | |||
38 | #include "lgdt330x.h" | 39 | #include "lgdt330x.h" |
39 | 40 | ||
40 | struct dvb_bt8xx_card { | 41 | struct dvb_bt8xx_card { |
41 | struct semaphore lock; | 42 | struct mutex lock; |
42 | int nfeeds; | 43 | int nfeeds; |
43 | char card_name[32]; | 44 | char card_name[32]; |
44 | struct dvb_adapter dvb_adapter; | 45 | struct dvb_adapter dvb_adapter; |