diff options
Diffstat (limited to 'sound/soc')
-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 | }, |