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>
Thu, 28 Mar 2013 11:01:06 +0000 (12:01 +0100)
commit3d5a96582303e28c48699f3faaf920ef7d43e6f2
tree7559859702f2fa02f6a4db64cf10f6c2e3f80c21
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