summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_macio.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2011-02-04 20:04:17 +0100
committerJeff Garzik <jgarzik@redhat.com>2011-03-02 08:36:46 +0100
commit3696df309971b3427cb9cb039138a1732a865a0b (patch)
tree334c7506273d2facf14abbdf42ed93e3da8cf615 /drivers/ata/pata_macio.c
parentlibata: remove ATA_FLAG_{SRST|SATA_RESET} (diff)
downloadlinux-3696df309971b3427cb9cb039138a1732a865a0b.tar.xz
linux-3696df309971b3427cb9cb039138a1732a865a0b.zip
libata: remove ATA_FLAG_MMIO
Commit 0d5ff566779f894ca9937231a181eb31e4adff0e (libata: convert to iomap) removed all checks of ATA_FLAG_MMIO but neglected to remove the flag itself. Do it now, at last... Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_macio.c')
-rw-r--r--drivers/ata/pata_macio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c
index 75b49d01780b..7f7b883c008e 100644
--- a/drivers/ata/pata_macio.c
+++ b/drivers/ata/pata_macio.c
@@ -1053,8 +1053,7 @@ static int __devinit pata_macio_common_init(struct pata_macio_priv *priv,
/* Allocate libata host for 1 port */
memset(&pinfo, 0, sizeof(struct ata_port_info));
pmac_macio_calc_timing_masks(priv, &pinfo);
- pinfo.flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_MMIO |
- ATA_FLAG_NO_LEGACY;
+ pinfo.flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_NO_LEGACY;
pinfo.port_ops = &pata_macio_ops;
pinfo.private_data = priv;