Commit ec1a123a authored by Yegor Yefremov's avatar Yegor Yefremov Committed by David S. Miller

IDE: pass IRQ flags to the IDE core

This enables shared IRQs and other features to be used with platform devices
Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 54a4ec46
......@@ -95,6 +95,7 @@ static int __devinit plat_ide_probe(struct platform_device *pdev)
plat_ide_setup_ports(&hw, base, alt_base, pdata, res_irq->start);
hw.dev = &pdev->dev;
d.irq_flags = res_irq->flags;
if (mmio)
d.host_flags |= IDE_HFLAG_MMIO;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment