aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-29 14:15:19 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:23:58 -0400
commitb1d8f9f5b8036b61a7ec562dfb86361f5b18e8f2 (patch)
tree1c155fb17c1dc3d12753343ea55a65f252a15784 /drivers/media/dvb
parent4411d29165d83a4a73ea351ffccfdc0fd8baeb1e (diff)
V4L/DVB (8310): sms1xxx: remove kmutex_t typedef
remove typedef struct mutex kmutex_t fix one line > 80 columns Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/siano/smscoreapi.c4
-rw-r--r--drivers/media/dvb/siano/smscoreapi.h5
-rw-r--r--drivers/media/dvb/siano/smsdvb.c2
3 files changed, 5 insertions, 6 deletions
diff --git a/drivers/media/dvb/siano/smscoreapi.c b/drivers/media/dvb/siano/smscoreapi.c
index 1dd196600036..9e7730a40e0f 100644
--- a/drivers/media/dvb/siano/smscoreapi.c
+++ b/drivers/media/dvb/siano/smscoreapi.c
@@ -112,10 +112,10 @@ struct smscore_registry_entry_t {
112 112
113struct list_head g_smscore_notifyees; 113struct list_head g_smscore_notifyees;
114struct list_head g_smscore_devices; 114struct list_head g_smscore_devices;
115kmutex_t g_smscore_deviceslock; 115struct mutex g_smscore_deviceslock;
116 116
117struct list_head g_smscore_registry; 117struct list_head g_smscore_registry;
118kmutex_t g_smscore_registrylock; 118struct mutex g_smscore_registrylock;
119 119
120static int default_mode = 4; 120static int default_mode = 4;
121 121
diff --git a/drivers/media/dvb/siano/smscoreapi.h b/drivers/media/dvb/siano/smscoreapi.h
index eeb5c0a7f62b..fb6acaefcbc6 100644
--- a/drivers/media/dvb/siano/smscoreapi.h
+++ b/drivers/media/dvb/siano/smscoreapi.h
@@ -36,8 +36,6 @@
36 36
37#include <linux/mutex.h> 37#include <linux/mutex.h>
38 38
39typedef struct mutex kmutex_t;
40
41#define kmutex_init(_p_) mutex_init(_p_) 39#define kmutex_init(_p_) mutex_init(_p_)
42#define kmutex_lock(_p_) mutex_lock(_p_) 40#define kmutex_lock(_p_) mutex_lock(_p_)
43#define kmutex_trylock(_p_) mutex_trylock(_p_) 41#define kmutex_trylock(_p_) mutex_trylock(_p_)
@@ -392,7 +390,8 @@ extern void smscore_onresponse(struct smscore_device_t *coredev,
392 struct smscore_buffer_t *cb); 390 struct smscore_buffer_t *cb);
393 391
394 392
395extern struct smscore_buffer_t *smscore_getbuffer(struct smscore_device_t *coredev); 393extern
394struct smscore_buffer_t *smscore_getbuffer(struct smscore_device_t *coredev);
396extern void smscore_putbuffer(struct smscore_device_t *coredev, 395extern void smscore_putbuffer(struct smscore_device_t *coredev,
397 struct smscore_buffer_t *cb); 396 struct smscore_buffer_t *cb);
398 397
diff --git a/drivers/media/dvb/siano/smsdvb.c b/drivers/media/dvb/siano/smsdvb.c
index 72d1de7a6dea..6f9c18563867 100644
--- a/drivers/media/dvb/siano/smsdvb.c
+++ b/drivers/media/dvb/siano/smsdvb.c
@@ -28,7 +28,7 @@
28DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); 28DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
29 29
30struct list_head g_smsdvb_clients; 30struct list_head g_smsdvb_clients;
31kmutex_t g_smsdvb_clientslock; 31struct mutex g_smsdvb_clientslock;
32 32
33static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb) 33static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb)
34{ 34{