diff options
author | Nicolas Pitre <nico@cam.org> | 2007-10-03 21:32:10 +0200 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-10-06 17:48:57 +0200 |
commit | 3e01e4bcdd56209e70c39293e0c4c355d09364b8 (patch) | |
tree | 311bd7d6f54382699b382033123d43d24cbad66c /drivers/mmc | |
parent | sdhci: remove old dma module params (diff) | |
download | linux-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.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 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++; |