aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-probe.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:19 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-26 16:25:19 -0400
commit3dd89a9b2af37d8e3efd785e20b12b785e50e48f (patch)
tree5dd755629cc9c0daaf4114f27a05ddd6d947813a /drivers/ide/ide-probe.c
parent5add22241752a3c689bea2a9d0e71c2a5909ed8a (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-probe.c')
-rw-r--r--drivers/ide/ide-probe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 4a8a482b43a3..c2cdeefb016c 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -1661,7 +1661,6 @@ static void ide_legacy_init_one(u8 *idx, hw_regs_t *hw, u8 port_no,
1661 hwif = ide_find_port_slot(d); 1661 hwif = ide_find_port_slot(d);
1662 if (hwif) { 1662 if (hwif) {
1663 ide_init_port_hw(hwif, hw); 1663 ide_init_port_hw(hwif, hw);
1664 hwif->mmio = 1;
1665 if (config) 1664 if (config)
1666 hwif->config_data = config; 1665 hwif->config_data = config;
1667 idx[port_no] = hwif->index; 1666 idx[port_no] = hwif->index;