projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide_platform: fix resources handling
[cascardo/linux.git]
/
drivers
/
ide
/
legacy
/
ide_platform.c
diff --git
a/drivers/ide/legacy/ide_platform.c
b/drivers/ide/legacy/ide_platform.c
index
ffa57c1
..
bf24077
100644
(file)
--- 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;