diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 22:25:19 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 22:25:19 +0200 |
commit | 3dd89a9b2af37d8e3efd785e20b12b785e50e48f (patch) | |
tree | 5dd755629cc9c0daaf4114f27a05ddd6d947813a /drivers/ide/mips/swarm.c | |
parent | ide: remove ide_hwif_request_regions() (diff) | |
download | linux-3dd89a9b2af37d8e3efd785e20b12b785e50e48f.tar.xz linux-3dd89a9b2af37d8e3efd785e20b12b785e50e48f.zip |
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/mips/swarm.c')
-rw-r--r-- | drivers/ide/mips/swarm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/mips/swarm.c b/drivers/ide/mips/swarm.c index 4769ec2ff290..112fe566bb93 100644 --- a/drivers/ide/mips/swarm.c +++ b/drivers/ide/mips/swarm.c @@ -110,8 +110,7 @@ static int __devinit swarm_ide_probe(struct device *dev) /* Setup MMIO ops. */ default_hwif_mmiops(hwif); - /* Prevent resource map manipulation. */ - hwif->mmio = 1; + hwif->chipset = ide_generic; for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) |