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/cris/ide-cris.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/cris/ide-cris.c')
-rw-r--r-- | drivers/ide/cris/ide-cris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/cris/ide-cris.c b/drivers/ide/cris/ide-cris.c index 7afb715b86e5..24281176b4dc 100644 --- a/drivers/ide/cris/ide-cris.c +++ b/drivers/ide/cris/ide-cris.c | |||
@@ -795,7 +795,7 @@ init_e100_ide (void) | |||
795 | 0, 0, cris_ide_ack_intr, | 795 | 0, 0, cris_ide_ack_intr, |
796 | ide_default_irq(0)); | 796 | ide_default_irq(0)); |
797 | ide_register_hw(&hw, &hwif); | 797 | ide_register_hw(&hw, &hwif); |
798 | hwif->mmio = 2; | 798 | hwif->mmio = 1; |
799 | hwif->chipset = ide_etrax100; | 799 | hwif->chipset = ide_etrax100; |
800 | hwif->tuneproc = &tune_cris_ide; | 800 | hwif->tuneproc = &tune_cris_ide; |
801 | hwif->speedproc = &speed_cris_ide; | 801 | hwif->speedproc = &speed_cris_ide; |