Skip to content

Commit

Permalink
mmc build fix
Browse files Browse the repository at this point in the history
Cc: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed May 9, 2007
1 parent de372ec commit 01f41ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,9 @@ void mmc_detect_change(struct mmc_host *host, unsigned long delay)
{
#ifdef CONFIG_MMC_DEBUG
unsigned long flags;
spin_lock_irqsave(host->lock, flags);
spin_lock_irqsave(&host->lock, flags);
BUG_ON(host->removed);
spin_unlock_irqrestore(host->lock, flags);
spin_unlock_irqrestore(&host->lock, flags);
#endif

mmc_schedule_delayed_work(&host->detect, delay);
Expand Down

0 comments on commit 01f41ec

Please sign in to comment.