diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:25 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:25 -0500 |
commit | 2ad1e558a2305c2b3d5099ee2f4a5929307c20ca (patch) | |
tree | 79a530648cc26184c3b2e3933c0ebad614329b5b /drivers/ide/mips/au1xxx-ide.c | |
parent | 0ecdca26e556eae9668ce6de9554757dddb942ef (diff) |
ide: convert ide_hwif_t.mmio into flag (v2)
All users of ->mmio == 1 are gone so convert ->mmio into flag.
Noticed by Alan Cox.
v2:
* updated for scc_pata
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/mips/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/mips/au1xxx-ide.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index 3c4f71afeeba..b431b990426d 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c | |||
@@ -708,7 +708,8 @@ static int au_ide_probe(struct device *dev) | |||
708 | 708 | ||
709 | /* hold should be on in all cases */ | 709 | /* hold should be on in all cases */ |
710 | hwif->hold = 1; | 710 | hwif->hold = 1; |
711 | hwif->mmio = 2; | 711 | |
712 | hwif->mmio = 1; | ||
712 | 713 | ||
713 | /* If the user has selected DDMA assisted copies, | 714 | /* If the user has selected DDMA assisted copies, |
714 | then set up a few local I/O function entry points | 715 | then set up a few local I/O function entry points |