From: Bartlomiej Zolnierkiewicz Date: Fri, 1 Feb 2008 22:09:32 +0000 (+0100) Subject: au1xxx-ide: device tree bugfix X-Git-Tag: v2.6.25-rc1~1078^2~22 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed1f78899195545ec49bc9a42ee8eb35697b216a;p=linux-2.6 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 --- diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index ed1a285efe..b00c71f2ae 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) 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);