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/b2c2/flexcop-common.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/b2c2/flexcop-common.h')
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-common.h b/drivers/media/dvb/b2c2/flexcop-common.h index 7d7e1613c5a7..b3dd0603cd92 100644 --- a/drivers/media/dvb/b2c2/flexcop-common.h +++ b/drivers/media/dvb/b2c2/flexcop-common.h | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | #include <linux/config.h> | 11 | #include <linux/config.h> |
12 | #include <linux/pci.h> | 12 | #include <linux/pci.h> |
13 | #include <linux/mutex.h> | ||
13 | 14 | ||
14 | #include "flexcop-reg.h" | 15 | #include "flexcop-reg.h" |
15 | 16 | ||
@@ -73,8 +74,7 @@ struct flexcop_device { | |||
73 | int (*fe_sleep) (struct dvb_frontend *); | 74 | int (*fe_sleep) (struct dvb_frontend *); |
74 | 75 | ||
75 | struct i2c_adapter i2c_adap; | 76 | struct i2c_adapter i2c_adap; |
76 | struct semaphore i2c_sem; | 77 | struct mutex i2c_mutex; |
77 | |||
78 | struct module *owner; | 78 | struct module *owner; |
79 | 79 | ||
80 | /* options and status */ | 80 | /* options and status */ |