mmc build fix

Cc: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Andrew Morton 2007-05-09 02:32:34 -07:00 committed by Linus Torvalds
parent de372ecd80
commit 01f41ec7b3
1 changed files with 2 additions and 2 deletions

View File

@ -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);