aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:32 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:32 -0500
commited1f78899195545ec49bc9a42ee8eb35697b216a (patch)
treeac8a04978e04d0da11923382e2cf6c10fd183af7
parent062f9f024dcdb927cfd35c9ee8a68f59cbb1136f (diff)
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>
-rw-r--r--drivers/ide/mips/au1xxx-ide.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c
index ed1a285efe14..b00c71f2aee3 100644
--- a/drivers/ide/mips/au1xxx-ide.c
+++ b/drivers/ide/mips/au1xxx-ide.c
@@ -602,6 +602,7 @@ static int au_ide_probe(struct device *dev)
602 memset(&hw, 0, sizeof(hw)); 602 memset(&hw, 0, sizeof(hw));
603 auide_setup_ports(&hw, ahwif); 603 auide_setup_ports(&hw, ahwif);
604 hw.irq = ahwif->irq; 604 hw.irq = ahwif->irq;
605 hw.dev = dev;
605 hw.chipset = ide_au1xxx; 606 hw.chipset = ide_au1xxx;
606 607
607 ide_init_port_hw(hwif, &hw); 608 ide_init_port_hw(hwif, &hw);