diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-04-19 09:22:56 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 10:56:08 -0400 |
commit | c9758b2182bdcccce31e1be474bfcd75b69cff0c (patch) | |
tree | 5b167a3051a43d499c4864d42894990c89dc6462 /sound | |
parent | 57b14f24d2a7aca65ddc6432fa89ebedf1219cc7 (diff) |
[ALSA] sound: SPIN_LOCK_UNLOCKED cleanup
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/at91/at91-ssc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/at91/at91-ssc.c b/sound/soc/at91/at91-ssc.c index db1635a09556..3d4e32cff75e 100644 --- a/sound/soc/at91/at91-ssc.c +++ b/sound/soc/at91/at91-ssc.c | |||
@@ -152,20 +152,20 @@ static struct at91_ssc_info { | |||
152 | } ssc_info[NUM_SSC_DEVICES] = { | 152 | } ssc_info[NUM_SSC_DEVICES] = { |
153 | { | 153 | { |
154 | .name = "ssc0", | 154 | .name = "ssc0", |
155 | .lock = SPIN_LOCK_UNLOCKED, | 155 | .lock = __SPIN_LOCK_UNLOCKED(ssc_info[0].lock), |
156 | .dir_mask = 0, | 156 | .dir_mask = 0, |
157 | .initialized = 0, | 157 | .initialized = 0, |
158 | }, | 158 | }, |
159 | #if NUM_SSC_DEVICES == 3 | 159 | #if NUM_SSC_DEVICES == 3 |
160 | { | 160 | { |
161 | .name = "ssc1", | 161 | .name = "ssc1", |
162 | .lock = SPIN_LOCK_UNLOCKED, | 162 | .lock = __SPIN_LOCK_UNLOCKED(ssc_info[1].lock), |
163 | .dir_mask = 0, | 163 | .dir_mask = 0, |
164 | .initialized = 0, | 164 | .initialized = 0, |
165 | }, | 165 | }, |
166 | { | 166 | { |
167 | .name = "ssc2", | 167 | .name = "ssc2", |
168 | .lock = SPIN_LOCK_UNLOCKED, | 168 | .lock = __SPIN_LOCK_UNLOCKED(ssc_info[2].lock), |
169 | .dir_mask = 0, | 169 | .dir_mask = 0, |
170 | .initialized = 0, | 170 | .initialized = 0, |
171 | }, | 171 | }, |