aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2010-04-15 17:20:53 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-15 17:20:53 -0400
commitec1a123afdbe6a14ee93df03e2a829ad9884693e (patch)
treeeeeecf6958fa5f72c8c239ea6fd07319e7a264ae /drivers/ide
parent54a4ec469dd6067f0b604bef8ca01a2b1fdb4dcd (diff)
IDE: pass IRQ flags to the IDE core
This enables shared IRQs and other features to be used with platform devices Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/ide_platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide_platform.c b/drivers/ide/ide_platform.c
index 42965b3e30b9..542603b394e4 100644
--- a/drivers/ide/ide_platform.c
+++ b/drivers/ide/ide_platform.c
@@ -95,6 +95,7 @@ static int __devinit plat_ide_probe(struct platform_device *pdev)
95 plat_ide_setup_ports(&hw, base, alt_base, pdata, res_irq->start); 95 plat_ide_setup_ports(&hw, base, alt_base, pdata, res_irq->start);
96 hw.dev = &pdev->dev; 96 hw.dev = &pdev->dev;
97 97
98 d.irq_flags = res_irq->flags;
98 if (mmio) 99 if (mmio)
99 d.host_flags |= IDE_HFLAG_MMIO; 100 d.host_flags |= IDE_HFLAG_MMIO;
100 101