Commit 01f41ec7 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

mmc build fix

Cc: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent de372ecd
...@@ -501,9 +501,9 @@ void mmc_detect_change(struct mmc_host *host, unsigned long delay) ...@@ -501,9 +501,9 @@ void mmc_detect_change(struct mmc_host *host, unsigned long delay)
{ {
#ifdef CONFIG_MMC_DEBUG #ifdef CONFIG_MMC_DEBUG
unsigned long flags; unsigned long flags;
spin_lock_irqsave(host->lock, flags); spin_lock_irqsave(&host->lock, flags);
BUG_ON(host->removed); BUG_ON(host->removed);
spin_unlock_irqrestore(host->lock, flags); spin_unlock_irqrestore(&host->lock, flags);
#endif #endif
mmc_schedule_delayed_work(&host->detect, delay); mmc_schedule_delayed_work(&host->detect, delay);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment