diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2013-04-08 18:34:19 +0200 | 
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2013-04-08 18:34:19 +0200 | 
| commit | 6b5606e0834bb173a8ce3505edec078f135e9f6c (patch) | |
| tree | 9f3bdc09be01e14fb68368b1c111a04cc570518f /arch/arm/mach-ux500/timer.c | |
| parent | e9069cf8b74b50d804fd540a9fd1383504f4af93 (diff) | |
| parent | 4f0f234fce1d263cc9881456352e8fd56ead0514 (diff) | |
| download | olio-linux-3.10-6b5606e0834bb173a8ce3505edec078f135e9f6c.tar.xz olio-linux-3.10-6b5606e0834bb173a8ce3505edec078f135e9f6c.zip  | |
Merge branch 'zynq/clksrc/cleanup' of git://git.xilinx.com/linux-xlnx into next/drivers
From Michal Simek <michal.simek@xilinx.com>:
* 'zynq/clksrc/cleanup' of git://git.xilinx.com/linux-xlnx:
  arm: zynq: Move timer to generic location
  arm: zynq: Do not use xilinx specific function names
  arm: zynq: Move timer to clocksource interface
  arm: zynq: Use standard timer binding
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-ux500/timer.c')
| -rw-r--r-- | arch/arm/mach-ux500/timer.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/timer.c b/arch/arm/mach-ux500/timer.c index a6af0b8732b..d07bbe7f04a 100644 --- a/arch/arm/mach-ux500/timer.c +++ b/arch/arm/mach-ux500/timer.c @@ -7,6 +7,7 @@  #include <linux/io.h>  #include <linux/errno.h>  #include <linux/clksrc-dbx500-prcmu.h> +#include <linux/clocksource.h>  #include <linux/of.h>  #include <linux/of_address.h>  #include <linux/platform_data/clocksource-nomadik-mtu.h> @@ -32,7 +33,7 @@ static void __init ux500_twd_init(void)  	twd_local_timer = &u8500_twd_local_timer;  	if (of_have_populated_dt()) -		twd_local_timer_of_register(); +		clocksource_of_init();  	else {  		err = twd_local_timer_register(twd_local_timer);  		if (err)  |