mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ide: remove ide_init_default_irq() macro
* Use ide_default_irq() instead of ide_init_default_irq() in ide_generic host driver (so the correct IRQ is always set regardless of CONFIG_PCI / CONFIG_BLK_DEV_IDEPCI). * Remove no longer needed ide_init_default_irq() macro. Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
This commit is contained in:
parent
486c92e290
commit
273b8385e5
7 changed files with 1 additions and 37 deletions
|
|
@ -97,7 +97,7 @@ static int __init ide_generic_init(void)
|
|||
if (hwif->chipset == ide_unknown && io_addr) {
|
||||
memset(&hw, 0, sizeof(hw));
|
||||
ide_std_init_ports(&hw, io_addr, io_addr + 0x206);
|
||||
hw.irq = ide_init_default_irq(io_addr);
|
||||
hw.irq = ide_default_irq(io_addr);
|
||||
ide_init_port_hw(hwif, &hw);
|
||||
|
||||
idx[i] = i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue