• Linus Walleij's avatar
    ARM: omap1: Fix up the Nokia 770 board device IRQs · 084b6f21
    Linus Walleij authored
    The platform devices on the Nokia 770 is using some
    board-specific IRQs that get statically assigned to platform
    devices in the boardfile.
    
    This does not work with dynamic IRQ chip bases.
    
    Utilize the NULL device to define some board-specific
    GPIO lookups and use these to immediately look up the
    same GPIOs, convert to IRQ numbers and pass as resources
    to the devices. This is ugly but should work.
    
    Fixes: 92bf78b3 ("gpio: omap: use dynamic allocation of base")
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    084b6f21
board-nokia770.c 8.73 KB