diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:19 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:19 -0400 |
commit | 3dd89a9b2af37d8e3efd785e20b12b785e50e48f (patch) | |
tree | 5dd755629cc9c0daaf4114f27a05ddd6d947813a /drivers/ide/arm/icside.c | |
parent | 5add22241752a3c689bea2a9d0e71c2a5909ed8a (diff) |
ide: cleanup setting hwif->mmio flag
It is no longer needed to set hwif->mmio flag to tell IDE layer to not
manage resources so cleanup host drivers that used hwif->mmio flag only
for this purpose.
Ditto for ide_legacy_init_one().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/arm/icside.c')
-rw-r--r-- | drivers/ide/arm/icside.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c index 51d4efb4d794..d7f4c533c45c 100644 --- a/drivers/ide/arm/icside.c +++ b/drivers/ide/arm/icside.c | |||
@@ -416,7 +416,6 @@ icside_setup(void __iomem *base, struct cardinfo *info, struct expansion_card *e | |||
416 | * Ensure we're using MMIO | 416 | * Ensure we're using MMIO |
417 | */ | 417 | */ |
418 | default_hwif_mmiops(hwif); | 418 | default_hwif_mmiops(hwif); |
419 | hwif->mmio = 1; | ||
420 | 419 | ||
421 | for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) { | 420 | for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) { |
422 | hwif->io_ports[i] = port; | 421 | hwif->io_ports[i] = port; |