diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2009-06-04 14:12:33 -0400 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2009-06-13 16:43:00 -0400 |
commit | 6c413cc76b893310b3b258b7de47fb74dcc50203 (patch) | |
tree | 27ea79d37f5a798dedd191e8f807a34890176090 /drivers | |
parent | 5e74672c0925335bb00772530634ac70179e8a19 (diff) |
tmio_mmc: don't use set_irq_type
Use an IRQF_TRIGGER_ flag in request_irq instead.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Acked-by: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/tmio_mmc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c index 01add9bd6289..bbcbd72a46a4 100644 --- a/drivers/mmc/host/tmio_mmc.c +++ b/drivers/mmc/host/tmio_mmc.c | |||
@@ -597,13 +597,11 @@ static int __devinit tmio_mmc_probe(struct platform_device *dev) | |||
597 | 597 | ||
598 | disable_mmc_irqs(host, TMIO_MASK_ALL); | 598 | disable_mmc_irqs(host, TMIO_MASK_ALL); |
599 | 599 | ||
600 | ret = request_irq(host->irq, tmio_mmc_irq, IRQF_DISABLED, "tmio-mmc", | 600 | ret = request_irq(host->irq, tmio_mmc_irq, IRQF_DISABLED | |
601 | host); | 601 | IRQF_TRIGGER_FALLING, "tmio-mmc", host); |
602 | if (ret) | 602 | if (ret) |
603 | goto unmap_cnf; | 603 | goto unmap_cnf; |
604 | 604 | ||
605 | set_irq_type(host->irq, IRQ_TYPE_EDGE_FALLING); | ||
606 | |||
607 | mmc_add_host(mmc); | 605 | mmc_add_host(mmc); |
608 | 606 | ||
609 | printk(KERN_INFO "%s at 0x%08lx irq %d\n", mmc_hostname(host->mmc), | 607 | printk(KERN_INFO "%s at 0x%08lx irq %d\n", mmc_hostname(host->mmc), |