From: David Brownell Date: Sun, 21 Sep 2008 21:16:14 +0000 (-0700) Subject: hsmmc: request_irq says which controller is involved X-Git-Tag: v2.6.27-omap1~131 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b20882bfafdad727516b0f8f213f168211d58593;p=linux-2.6-omap-h63xx.git hsmmc: request_irq says which controller is involved Make the hsmmc driver irq requests say which controller they're associated with (e.g. "mmc0") so /proc/interrupts is more useful. Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 75e3a16274e..cf3cb36d261 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -910,8 +910,8 @@ static int __init omap_mmc_probe(struct platform_device *pdev) OMAP_HSMMC_READ(host->base, HCTL) | SDBP); /* Request IRQ for MMC operations */ - ret = request_irq(host->irq, mmc_omap_irq, IRQF_DISABLED, pdev->name, - host); + ret = request_irq(host->irq, mmc_omap_irq, IRQF_DISABLED, + mmc_hostname(mmc), host); if (ret) { dev_dbg(mmc_dev(host->mmc), "Unable to grab HSMMC IRQ\n"); goto err_irq; @@ -920,8 +920,8 @@ static int __init omap_mmc_probe(struct platform_device *pdev) /* Request IRQ for card detect */ if ((mmc_slot(host).card_detect_irq) && (mmc_slot(host).card_detect)) { ret = request_irq(mmc_slot(host).card_detect_irq, - omap_mmc_cd_handler, IRQF_DISABLED, "MMC CD", - host); + omap_mmc_cd_handler, IRQF_DISABLED, + mmc_hostname(mmc), host); if (ret) { dev_dbg(mmc_dev(host->mmc), "Unable to grab MMC CD IRQ\n");