diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 3d989c298ff4..bced02f9f2c3 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -469,7 +469,7 @@ int set_using_dma(ide_drive_t *drive, int arg) | |||
469 | if (!drive->id || !(drive->id->capability & 1)) | 469 | if (!drive->id || !(drive->id->capability & 1)) |
470 | goto out; | 470 | goto out; |
471 | 471 | ||
472 | if (hwif->dma_host_set == NULL) | 472 | if (hwif->dma_ops == NULL) |
473 | goto out; | 473 | goto out; |
474 | 474 | ||
475 | err = -EBUSY; | 475 | err = -EBUSY; |