diff options
Diffstat (limited to 'drivers/ide/icside.c')
-rw-r--r-- | drivers/ide/icside.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/icside.c b/drivers/ide/icside.c index 0f67f1abbbd3..26b6c0a1f772 100644 --- a/drivers/ide/icside.c +++ b/drivers/ide/icside.c | |||
@@ -185,10 +185,11 @@ static const expansioncard_ops_t icside_ops_arcin_v6 = { | |||
185 | * MW1 80 50 50 150 C | 185 | * MW1 80 50 50 150 C |
186 | * MW2 70 25 25 120 C | 186 | * MW2 70 25 25 120 C |
187 | */ | 187 | */ |
188 | static void icside_set_dma_mode(ide_drive_t *drive, const u8 xfer_mode) | 188 | static void icside_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) |
189 | { | 189 | { |
190 | unsigned long cycle_time; | 190 | unsigned long cycle_time; |
191 | int use_dma_info = 0; | 191 | int use_dma_info = 0; |
192 | const u8 xfer_mode = drive->dma_mode; | ||
192 | 193 | ||
193 | switch (xfer_mode) { | 194 | switch (xfer_mode) { |
194 | case XFER_MW_DMA_2: | 195 | case XFER_MW_DMA_2: |