au1xxx-ide: device tree bugfix

Add missing setup (so hwif->gendev.parent will be set by
ide_init_port_hw() to point to the parent device).
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <>
parent 062f9f02
......@@ -602,6 +602,7 @@ static int au_ide_probe(struct device *dev)
memset(&hw, 0, sizeof(hw));
auide_setup_ports(&hw, ahwif);
hw.irq = ahwif->irq; = dev;
hw.chipset = ide_au1xxx;
ide_init_port_hw(hwif, &hw);
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