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/legacy/gayle.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/legacy/gayle.c')
-rw-r--r-- | drivers/ide/legacy/gayle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/gayle.c b/drivers/ide/legacy/gayle.c index 64d42619ab06..dcfadbbf55d8 100644 --- a/drivers/ide/legacy/gayle.c +++ b/drivers/ide/legacy/gayle.c | |||
@@ -167,7 +167,7 @@ found: | |||
167 | 167 | ||
168 | index = ide_register_hw(&hw, &hwif); | 168 | index = ide_register_hw(&hw, &hwif); |
169 | if (index != -1) { | 169 | if (index != -1) { |
170 | hwif->mmio = 2; | 170 | hwif->mmio = 1; |
171 | switch (i) { | 171 | switch (i) { |
172 | case 0: | 172 | case 0: |
173 | printk("ide%d: Gayle IDE interface (A%d style)\n", index, | 173 | printk("ide%d: Gayle IDE interface (A%d style)\n", index, |