diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 97894abd9ebc..9805c43dfd8a 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -405,8 +405,9 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif) | |||
405 | hwif->chipset = tmp_hwif->chipset; | 405 | hwif->chipset = tmp_hwif->chipset; |
406 | hwif->hold = tmp_hwif->hold; | 406 | hwif->hold = tmp_hwif->hold; |
407 | 407 | ||
408 | hwif->dev = tmp_hwif->dev; | ||
409 | |||
408 | #ifdef CONFIG_BLK_DEV_IDEPCI | 410 | #ifdef CONFIG_BLK_DEV_IDEPCI |
409 | hwif->pci_dev = tmp_hwif->pci_dev; | ||
410 | hwif->cds = tmp_hwif->cds; | 411 | hwif->cds = tmp_hwif->cds; |
411 | #endif | 412 | #endif |
412 | 413 | ||