diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-09-02 20:18:47 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-09-02 20:18:47 +0200 |
commit | 96f80219b738f84f90e449385bdede90f2910521 (patch) | |
tree | 85fcf944aee937dbd1c88df2b1d420a7498b1047 /drivers | |
parent | a1aee8622293138867e7dbd1dd214dfb34cd89d2 (diff) |
ide: fix hwif_to_node()
hwif_to_node() incorrectly assumes that hwif->dev always belongs to
a PCI device. This results in ide-cs oopsing in init_irq() after
commit c56c5648a3bd15ff14c50f284b261140cd5b5472 accidentally fixed
device tree registration for ide-cs. Fix it by using dev_to_node().
Thanks to Martin Michlmayr and Larry Finger for help with debugging
the issue.
Reported-by: Martin Michlmayr <tbm@cyrius.com>
Tested-by: Martin Michlmayr <tbm@cyrius.com>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions