• A
    ARM: nomadik: fix clocksource warning · 3c09f4da
    Arnd Bergmann 提交于
    The clocksource API has changed slightly, which causes a harmless
    warning:
    
    /git/arm-soc/drivers/clocksource/nomadik-mtu.c:259:28: warning: 'nmdk_timer_match' defined but not used [-Wunused-variable]
     static struct of_device_id nmdk_timer_match[] __initconst = {
                                ^
    
    Fortunately, the same API change also lets us simplify the code
    while removing the warning.
    Signed-off-by: NArnd Bergmann <arnd@arndb.de>
    Signed-off-by: NOlof Johansson <olof@lixom.net>
    3c09f4da
nomadik-mtu.c 7.6 KB