]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clocksource: make CLOCKSOURCE_OF_DECLARE type safe
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Mar 2013 14:38:50 +0000 (15:38 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 4 Apr 2013 07:31:57 +0000 (09:31 +0200)
commitac64537d5cab04348be51b917a81c6e7a2de9409
treefde912124f7a30e2a079b365acf66ff1bd77aaed
parentc79e33b3e828c79cfedf858ef7d4df96df5fece7
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