diff options
author | Nicolas Pitre <nico@cam.org> | 2007-10-03 19:32:10 (GMT) |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-10-06 15:48:57 (GMT) |
commit | 3e01e4bcdd56209e70c39293e0c4c355d09364b8 (patch) | |
tree | 311bd7d6f54382699b382033123d43d24cbad66c | |
parent | d6f8deecefc133cac044f6029bdb349a1cb8753a (diff) | |
download | linux-fsl-qoriq-3e01e4bcdd56209e70c39293e0c4c355d09364b8.tar.xz |
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>
-rw-r--r-- | drivers/mmc/core/sdio_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c index f78ffee..e786505 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++; |