IDE: Small fix for "hold" flag
PATCH 1/1 IDE: Small fix for "hold" flag
Hi Marcelo !
The "hold" flag we added a few weeks ago to IDE to deal with some laptop hotswap bays isn't properly kept around in ide_unregister(), this fixes it. This fix is necessary for PowerMac media bay to work properly (and this is also the only driver using this flag so far)
Please apply,
Ben.
drivers/ide/ide.c +1 -0
@@ -798,6 +798,7 @@ hwif->swdma_mask = old_hwif.swdma_mask; hwif->chipset = old_hwif.chipset; + hwif->hold = old_hwif.hold;#ifdef CONFIG_BLK_DEV_IDEPCI hwif->pci_dev = old_hwif.pci_dev;
@@ -2221,7 +2222,6 @@