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/swarm.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/swarm.c')
-rw-r--r-- | drivers/ide/mips/swarm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/mips/swarm.c b/drivers/ide/mips/swarm.c index 09c9e7936b0d..81fa06851b27 100644 --- a/drivers/ide/mips/swarm.c +++ b/drivers/ide/mips/swarm.c | |||
@@ -115,7 +115,7 @@ static int __devinit swarm_ide_probe(struct device *dev) | |||
115 | /* Setup MMIO ops. */ | 115 | /* Setup MMIO ops. */ |
116 | default_hwif_mmiops(hwif); | 116 | default_hwif_mmiops(hwif); |
117 | /* Prevent resource map manipulation. */ | 117 | /* Prevent resource map manipulation. */ |
118 | hwif->mmio = 2; | 118 | hwif->mmio = 1; |
119 | hwif->noprobe = 0; | 119 | hwif->noprobe = 0; |
120 | 120 | ||
121 | for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) | 121 | for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) |