diff options
Diffstat (limited to 'drivers/ide/ppc/mpc8xx.c')
-rw-r--r-- | drivers/ide/ppc/mpc8xx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ppc/mpc8xx.c b/drivers/ide/ppc/mpc8xx.c index 82de2d781f2e..f3789c0e6cc9 100644 --- a/drivers/ide/ppc/mpc8xx.c +++ b/drivers/ide/ppc/mpc8xx.c | |||
@@ -431,13 +431,12 @@ void m8xx_ide_init_hwif_ports (hw_regs_t *hw, | |||
431 | static void | 431 | static void |
432 | m8xx_ide_tuneproc(ide_drive_t *drive, u8 pio) | 432 | m8xx_ide_tuneproc(ide_drive_t *drive, u8 pio) |
433 | { | 433 | { |
434 | ide_pio_data_t d; | ||
435 | #if defined(CONFIG_IDE_8xx_PCCARD) || defined(CONFIG_IDE_8xx_DIRECT) | 434 | #if defined(CONFIG_IDE_8xx_PCCARD) || defined(CONFIG_IDE_8xx_DIRECT) |
436 | volatile pcmconf8xx_t *pcmp; | 435 | volatile pcmconf8xx_t *pcmp; |
437 | ulong timing, mask, reg; | 436 | ulong timing, mask, reg; |
438 | #endif | 437 | #endif |
439 | 438 | ||
440 | pio = ide_get_best_pio_mode(drive, pio, 4, &d); | 439 | pio = ide_get_best_pio_mode(drive, pio, 4); |
441 | 440 | ||
442 | #if 1 | 441 | #if 1 |
443 | printk("%s[%d] %s: best PIO mode: %d\n", | 442 | printk("%s[%d] %s: best PIO mode: %d\n", |