au1xxx-ide: device tree bugfix

Add missing hw.dev 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 <bzolnier@gmail.com>
parent 062f9f02
...@@ -602,6 +602,7 @@ static int au_ide_probe(struct device *dev) ...@@ -602,6 +602,7 @@ static int au_ide_probe(struct device *dev)
memset(&hw, 0, sizeof(hw)); memset(&hw, 0, sizeof(hw));
auide_setup_ports(&hw, ahwif); auide_setup_ports(&hw, ahwif);
hw.irq = ahwif->irq; hw.irq = ahwif->irq;
hw.dev = dev;
hw.chipset = ide_au1xxx; hw.chipset = ide_au1xxx;
ide_init_port_hw(hwif, &hw); 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