mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
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: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
062f9f024d
commit
ed1f788991
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
hw.dev = dev;
|
||||
hw.chipset = ide_au1xxx;
|
||||
|
||||
ide_init_port_hw(hwif, &hw);
|
||||
|
|
Loading…
Reference in a new issue