aboutsummaryrefslogtreecommitdiffstats
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 11:48:57 -0400
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)
44 if (!func) { 44 if (!func) {
45 printk(KERN_WARNING "%s: pending IRQ for " 45 printk(KERN_WARNING "%s: pending IRQ for "
46 "non-existant function\n", 46 "non-existant function\n",
47 sdio_func_id(func)); 47 mmc_card_id(card));
48 } else if (func->irq_handler) { 48 } else if (func->irq_handler) {
49 func->irq_handler(func); 49 func->irq_handler(func);
50 count++; 50 count++;