mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 03:47:43 +00:00
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 <avorontsov@ru.mvista.com> Cc: Vitaly Bordug <vitb@kernel.crashing.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
b3a37f1284
commit
3e2990eae0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user