summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-10-03 21:32:10 +0200
committerPierre Ossman <drzeus@drzeus.cx>2007-10-06 17:48:57 +0200
commit3e01e4bcdd56209e70c39293e0c4c355d09364b8 (patch)
tree311bd7d6f54382699b382033123d43d24cbad66c /drivers/mmc
parentsdhci: remove old dma module params (diff)
downloadlinux-3e01e4bcdd56209e70c39293e0c4c355d09364b8.tar.xz
linux-3e01e4bcdd56209e70c39293e0c4c355d09364b8.zip
sdio: fix IRQ diagnostic message
If func is actually null we won't get much from sdio_func_id(func). Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/sdio_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c
index f78ffeefed52..e7865059e126 100644
--- a/drivers/mmc/core/sdio_irq.c
+++ b/drivers/mmc/core/sdio_irq.c
@@ -44,7 +44,7 @@ static int process_sdio_pending_irqs(struct mmc_card *card)
if (!func) {
printk(KERN_WARNING "%s: pending IRQ for "
"non-existant function\n",
- sdio_func_id(func));
+ mmc_card_id(card));
} else if (func->irq_handler) {
func->irq_handler(func);
count++;