[PATCH] ARM: nomadik: fix clocksource warning

From
Linus Walleij <hidden>
Date
2013-06-02 19:23:51
Reply to
Arnd Bergmann, 2013-05-31
2013/5/31 Arnd Bergmann [off-list ref]:
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: Arnd Bergmann <arnd@arndb.de>
Ah so it matches the string directly in CLOCKSOURCE_OF_DECLARE()
OK makes perfect sense, sometimes it's hard to keep up with
the evolutional pace here...
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Thread (4 messages) 4 messages, 3 authors, last reply 2013-06-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help