]> err.no Git - linux-2.6/commitdiff
mmc build fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 9 May 2007 09:32:34 +0000 (02:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:44 +0000 (12:30 -0700)
Cc: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/core/core.c

index b6c16704aaab770e3f9818f115b1c4253852971d..7385acfa1dd939a29e77fc414f89be7b47bed576 100644 (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);