ARM: nomadik: fix clocksource warning
commit3c09f4daeee83b76779dec766f57e9e883402bb1
authorArnd Bergmann <arnd@arndb.de>
Fri, 31 May 2013 15:49:28 +0000 (31 17:49 +0200)
committerOlof Johansson <olof@lixom.net>
Sat, 1 Jun 2013 06:47:11 +0000 (31 23:47 -0700)
tree086920b1b437316d7d92f916e32809de856147b9
parentd1ba78cd72190020b493369cfbd04f18198527bd
ARM: nomadik: fix clocksource warning

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>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/clocksource/nomadik-mtu.c