Skip to content

Commit ec1a123

Browse files
yegorichdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 54a4ec4 commit ec1a123

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ide/ide_platform.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ static int __devinit plat_ide_probe(struct platform_device *pdev)
9595
plat_ide_setup_ports(&hw, base, alt_base, pdata, res_irq->start);
9696
hw.dev = &pdev->dev;
9797

98+
d.irq_flags = res_irq->flags;
9899
if (mmio)
99100
d.host_flags |= IDE_HFLAG_MMIO;
100101

0 commit comments

Comments
 (0)