Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;