diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 73e1cc5839d3..a498245dc213 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -392,13 +392,10 @@ static int set_unmaskirq(ide_drive_t *drive, int arg) | |||
392 | return 0; | 392 | return 0; |
393 | } | 393 | } |
394 | 394 | ||
395 | #define ide_gen_devset_rw(_name, _func) \ | 395 | ide_ext_devset_rw_sync(io_32bit, io_32bit); |
396 | __IDE_DEVSET(_name, DS_SYNC, get_##_func, set_##_func) | 396 | ide_ext_devset_rw_sync(keepsettings, ksettings); |
397 | 397 | ide_ext_devset_rw_sync(unmaskirq, unmaskirq); | |
398 | ide_gen_devset_rw(io_32bit, io_32bit); | 398 | ide_ext_devset_rw_sync(using_dma, using_dma); |
399 | ide_gen_devset_rw(keepsettings, ksettings); | ||
400 | ide_gen_devset_rw(unmaskirq, unmaskirq); | ||
401 | ide_gen_devset_rw(using_dma, using_dma); | ||
402 | __IDE_DEVSET(pio_mode, DS_SYNC, NULL, set_pio_mode); | 399 | __IDE_DEVSET(pio_mode, DS_SYNC, NULL, set_pio_mode); |
403 | 400 | ||
404 | static int generic_ide_suspend(struct device *dev, pm_message_t mesg) | 401 | static int generic_ide_suspend(struct device *dev, pm_message_t mesg) |