Using CLKSRC_OF allows to remove the SoC specific sunxi_timer.h header, and instead of using a custom init function in the machine definition use the standard clocksource_of_init function. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>tirimbino
parent
049817319a
commit
ea71d9a600
@ -1,24 +0,0 @@ |
||||
/*
|
||||
* Copyright 2012 Maxime Ripard |
||||
* |
||||
* Maxime Ripard <maxime.ripard@free-electrons.com> |
||||
* |
||||
* This program is free software; you can redistribute it and/or modify |
||||
* it under the terms of the GNU General Public License as published by |
||||
* the Free Software Foundation; either version 2 of the License, or |
||||
* (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
*/ |
||||
|
||||
#ifndef __SUNXI_TIMER_H |
||||
#define __SUNXI_TIMER_H |
||||
|
||||
#include <asm/mach/time.h> |
||||
|
||||
void sunxi_timer_init(void); |
||||
|
||||
#endif |
Loading…
Reference in new issue