mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-09 07:54:00 +00:00
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>
This commit is contained in:
parent
54a4ec469d
commit
ec1a123afd
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
plat_ide_setup_ports(&hw, base, alt_base, pdata, res_irq->start);
|
||||||
hw.dev = &pdev->dev;
|
hw.dev = &pdev->dev;
|
||||||
|
|
||||||
|
d.irq_flags = res_irq->flags;
|
||||||
if (mmio)
|
if (mmio)
|
||||||
d.host_flags |= IDE_HFLAG_MMIO;
|
d.host_flags |= IDE_HFLAG_MMIO;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue