diff options
| author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-03-23 19:01:48 -0400 |
|---|---|---|
| committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-04-08 15:41:54 -0400 |
| commit | ea71d9a600e769ca669f4ba3e25ffdecdeede240 (patch) | |
| tree | bb5bb6a4a2695a86f90d942e36e25f3cac6b6a80 /include/linux | |
| parent | 049817319a5cf2812ada74018ae9f5c5b739607b (diff) | |
clocksource: sunxi: make use of CLKSRC_OF
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sunxi_timer.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/linux/sunxi_timer.h b/include/linux/sunxi_timer.h deleted file mode 100644 index 18081787e5f3..000000000000 --- a/include/linux/sunxi_timer.h +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2012 Maxime Ripard | ||
| 3 | * | ||
| 4 | * Maxime Ripard <maxime.ripard@free-electrons.com> | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #ifndef __SUNXI_TIMER_H | ||
| 18 | #define __SUNXI_TIMER_H | ||
| 19 | |||
| 20 | #include <asm/mach/time.h> | ||
| 21 | |||
| 22 | void sunxi_timer_init(void); | ||
| 23 | |||
| 24 | #endif | ||
