• Linus Walleij's avatar
    clocksource: fixup ux500 build problems · b1e3be06
    Linus Walleij authored
    Based on a patch from Arnd Bergmann this fixes up the build
    problem of assigning a non-existing global when the ux500 PRCMU
    timer is not linked in by passing its base address to the init
    function. We also add a missing <linux/errno.h> inclusion and
    staticize the dummy function.
    
    Cc: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    b1e3be06
timer.c 1.86 KB