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/ide-pnp.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/ide-pnp.c')
-rw-r--r-- | drivers/ide/ide-pnp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/ide-pnp.c b/drivers/ide/ide-pnp.c index a0b7d170ecdb..10c20e9a5785 100644 --- a/drivers/ide/ide-pnp.c +++ b/drivers/ide/ide-pnp.c | |||
@@ -63,7 +63,6 @@ static int idepnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id) | |||
63 | 63 | ||
64 | ide_init_port_data(hwif, index); | 64 | ide_init_port_data(hwif, index); |
65 | ide_init_port_hw(hwif, &hw); | 65 | ide_init_port_hw(hwif, &hw); |
66 | hwif->mmio = 1; | ||
67 | 66 | ||
68 | printk(KERN_INFO "ide%d: generic PnP IDE interface\n", index); | 67 | printk(KERN_INFO "ide%d: generic PnP IDE interface\n", index); |
69 | pnp_set_drvdata(dev, hwif); | 68 | pnp_set_drvdata(dev, hwif); |