Skip to contentSkip to conversation

mmc: let tmio-mmc use dev_name() with request_irq()

PATCH New [email protected] 1 participant 1 message Dec 15, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 181/196 mmc: let tmio-mmc use dev_name() with request_irq()

From: Magnus Damm <[email protected]>

Improve the /proc/interrupts output so the irq number can be mapped to platform device on boards with multiple tmio_mmc instances.

---

 drivers/mmc/host/tmio_mmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/tmio_mmc.c renamed from drivers/mmc/host/tmio_mmc.c~mmc-let-tmio-mmc-use-dev_name-with-request_irq +1 -1
diff -puN drivers/mmc/host/tmio_mmc.c~mmc-let-tmio-mmc-use-dev_name-with-request_irq drivers/mmc/host/tmio_mmc.c
@@ -591,7 +591,7 @@ static int __devinit tmio_mmc_probe(stru
 	disable_mmc_irqs(host, TMIO_MASK_ALL);
 
 	ret = request_irq(host->irq, tmio_mmc_irq, IRQF_DISABLED |
-		IRQF_TRIGGER_FALLING, "tmio-mmc", host);
+		IRQF_TRIGGER_FALLING, dev_name(&dev->dev), host);
 	if (ret)
 		goto unmap_cnf;
 

_