From: Bartlomiej Zolnierkiewicz Date: Sat, 26 Apr 2008 15:36:37 +0000 (+0200) Subject: ide_platform: fix resources handling X-Git-Tag: v2.6.26-rc1~1044^2~32 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3e2990eae03c3f998f365824330290d227e4415a;p=linux-2.6-omap-h63xx.git ide_platform: fix resources handling Tell IDE layer to not manage resources by always setting hwif->mmio flag (resources are handled by a platform device). Cc: Anton Vorontsov Cc: Vitaly Bordug Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/legacy/ide_platform.c b/drivers/ide/legacy/ide_platform.c index ffa57c1175d..bf240775531 100644 --- a/drivers/ide/legacy/ide_platform.c +++ b/drivers/ide/legacy/ide_platform.c @@ -100,11 +100,10 @@ static int __devinit plat_ide_probe(struct platform_device *pdev) hw.dev = &pdev->dev; ide_init_port_hw(hwif, &hw); + hwif->mmio = 1; - if (mmio) { - hwif->mmio = 1; + if (mmio) default_hwif_mmiops(hwif); - } idx[0] = hwif->index;