summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-10-03 15:32:10 -0400
committerPierre Ossman <drzeus@drzeus.cx>2007-10-06 17:48:57 +0200
commit3e01e4bcdd56209e70c39293e0c4c355d09364b8 (patch)
tree311bd7d6f54382699b382033123d43d24cbad66c /drivers/mmc
parentd6f8deecefc133cac044f6029bdb349a1cb8753a (diff)
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++;