clocksource: make CLOCKSOURCE_OF_DECLARE type safe
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Mar 2013 14:38:50 +0000 (15:38 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 19 Mar 2013 21:57:40 +0000 (22:57 +0100)
commit4d10f054f7df600ec8a388091c93b2d976920de0
tree0b76d66daa1006ca9af5ec060bfd3b4c026bafcd
parentda4a686a2cfb077a8bfc1697f597e7f86235b822
clocksource: make CLOCKSOURCE_OF_DECLARE type safe

This ensures that a function pointer passed into CLOCKSOURCE_OF_DECLARE
takes the same arguments that we use for calling that function later.

Also fix the extraneous semicolon at end of the CLOCKSOURCE_OF_DECLARE
definition.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rob Herring <rob.herring@calxeda.com>
drivers/clocksource/clksrc-of.c
drivers/clocksource/vt8500_timer.c
include/linux/clocksource.h