commit | a861beb1401d65e3f095fee074c13645ab06490e | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Tue Jul 08 19:27:22 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Tue Jul 08 19:27:22 2008 +0200 |
tree | a464f863ddd8421bdfe6a05fdfcb56da33c0b9e7 | |
parent | 86df86424939d316b1f6cfac1b6204f0c7dee317 [diff] |
ide: add __ide_default_irq() inline helper Add __ide_default_irq() inline helper and use it instead of ide_default_irq() in ide-probe.c and ns87415.c (all host drivers except IDE PCI ones always setup hwif->irq so it is enough to check only for I/O bases 0x1f0 and 0x170). This fixes post-2.6.25 regression since ide_default_irq() define could shadow ide_default_irq() inline. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>