Skip to content

Commit

Permalink
IDE: pass IRQ flags to the IDE core
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yegor Yefremov authored and David S. Miller committed Apr 15, 2010
1 parent 54a4ec4 commit ec1a123
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ide/ide_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ec1a123

Please sign in to comment.