diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-06-29 11:15:19 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-06-29 11:15:19 -0400 |
commit | e2049a567720df0a7865db90a946af608831faf4 (patch) | |
tree | c89420b25c1c9e71e1316118ef4834a0aa43883a /linux/drivers/media | |
parent | d4ccf4a32eb40353ac0e5f477f5cb5dbe61cfada (diff) | |
download | mediapointer-dvb-s2-e2049a567720df0a7865db90a946af608831faf4.tar.gz mediapointer-dvb-s2-e2049a567720df0a7865db90a946af608831faf4.tar.bz2 |
sms1xxx: remove kmutex_t typedef
From: Michael Krufky <mkrufky@linuxtv.org>
remove typedef struct mutex kmutex_t
fix one line > 80 columns
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/siano/smscoreapi.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/dvb/siano/smscoreapi.h | 5 | ||||
-rw-r--r-- | linux/drivers/media/dvb/siano/smsdvb.c | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.c b/linux/drivers/media/dvb/siano/smscoreapi.c index 24de12f35..549332b53 100644 --- a/linux/drivers/media/dvb/siano/smscoreapi.c +++ b/linux/drivers/media/dvb/siano/smscoreapi.c @@ -112,10 +112,10 @@ struct smscore_registry_entry_t { struct list_head g_smscore_notifyees; struct list_head g_smscore_devices; -kmutex_t g_smscore_deviceslock; +struct mutex g_smscore_deviceslock; struct list_head g_smscore_registry; -kmutex_t g_smscore_registrylock; +struct mutex g_smscore_registrylock; static int default_mode = 4; diff --git a/linux/drivers/media/dvb/siano/smscoreapi.h b/linux/drivers/media/dvb/siano/smscoreapi.h index 49e8936ff..d49bd5012 100644 --- a/linux/drivers/media/dvb/siano/smscoreapi.h +++ b/linux/drivers/media/dvb/siano/smscoreapi.h @@ -36,8 +36,6 @@ #include <linux/mutex.h> -typedef struct mutex kmutex_t; - #define kmutex_init(_p_) mutex_init(_p_) #define kmutex_lock(_p_) mutex_lock(_p_) #define kmutex_trylock(_p_) mutex_trylock(_p_) @@ -562,7 +560,8 @@ extern int smscore_map_common_buffer(struct smscore_device_t *coredev, struct vm_area_struct *vma); #endif -extern struct smscore_buffer_t *smscore_getbuffer(struct smscore_device_t *coredev); +extern +struct smscore_buffer_t *smscore_getbuffer(struct smscore_device_t *coredev); extern void smscore_putbuffer(struct smscore_device_t *coredev, struct smscore_buffer_t *cb); diff --git a/linux/drivers/media/dvb/siano/smsdvb.c b/linux/drivers/media/dvb/siano/smsdvb.c index c3b0fdf63..2da99f19e 100644 --- a/linux/drivers/media/dvb/siano/smsdvb.c +++ b/linux/drivers/media/dvb/siano/smsdvb.c @@ -28,7 +28,7 @@ DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); struct list_head g_smsdvb_clients; -kmutex_t g_smsdvb_clientslock; +struct mutex g_smsdvb_clientslock; static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb) { |