diff options
Diffstat (limited to 'drivers/mmc/card/queue.c')
-rw-r--r-- | drivers/mmc/card/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index 7c3392e50722..91c99e76c8cc 100644 --- a/drivers/mmc/card/queue.c +++ b/drivers/mmc/card/queue.c | |||
@@ -208,7 +208,7 @@ int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, spinlock_t *lock | |||
208 | sg_init_table(mq->sg, host->max_segs); | 208 | sg_init_table(mq->sg, host->max_segs); |
209 | } | 209 | } |
210 | 210 | ||
211 | init_MUTEX(&mq->thread_sem); | 211 | sema_init(&mq->thread_sem, 1); |
212 | 212 | ||
213 | mq->thread = kthread_run(mmc_queue_thread, mq, "mmcqd"); | 213 | mq->thread = kthread_run(mmc_queue_thread, mq, "mmcqd"); |
214 | if (IS_ERR(mq->thread)) { | 214 | if (IS_ERR(mq->thread)) { |