diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/core/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index b6c16704aaab..7385acfa1dd9 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -501,9 +501,9 @@ void mmc_detect_change(struct mmc_host *host, unsigned long delay) | |||
501 | { | 501 | { |
502 | #ifdef CONFIG_MMC_DEBUG | 502 | #ifdef CONFIG_MMC_DEBUG |
503 | unsigned long flags; | 503 | unsigned long flags; |
504 | spin_lock_irqsave(host->lock, flags); | 504 | spin_lock_irqsave(&host->lock, flags); |
505 | BUG_ON(host->removed); | 505 | BUG_ON(host->removed); |
506 | spin_unlock_irqrestore(host->lock, flags); | 506 | spin_unlock_irqrestore(&host->lock, flags); |
507 | #endif | 507 | #endif |
508 | 508 | ||
509 | mmc_schedule_delayed_work(&host->detect, delay); | 509 | mmc_schedule_delayed_work(&host->detect, delay); |