]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: u300: move timer driver to clocksource
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Jan 2014 14:04:14 +0000 (15:04 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 11 Mar 2014 22:04:43 +0000 (23:04 +0100)
Move the U300 timer driver down to the clocksource driver
subsystem and keep arch/arm clean.

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
MAINTAINERS
arch/arm/mach-u300/Makefile
drivers/clocksource/Makefile
drivers/clocksource/timer-u300.c [moved from arch/arm/mach-u300/timer.c with 99% similarity]

index b2cf5cfb4d29de3dc27e351ba090134bfd624de6..edd6139c7c7c4596ac3620c5ca81102571c34c4d 100644 (file)
@@ -1319,6 +1319,7 @@ M:        Linus Walleij <linus.walleij@linaro.org>
 L:     linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
 S:     Supported
 F:     arch/arm/mach-u300/
+F:     drivers/clocksource/timer-u300.c
 F:     drivers/i2c/busses/i2c-stu300.c
 F:     drivers/rtc/rtc-coh901331.c
 F:     drivers/watchdog/coh901327_wdt.c
index 0f362b64fb878c02a03d4647ba7076353631b926..3ec74ac95bc1c1087c04776c0c1b2e6176273f4f 100644 (file)
@@ -2,7 +2,7 @@
 # Makefile for the linux kernel, U300 machine.
 #
 
-obj-y          := core.o timer.o
+obj-y          := core.o
 obj-m          :=
 obj-n          :=
 obj-           :=
index c7ca50a9c232bdcc246fbce2508f71ff6dbcab97..01e5435315cabc793eea40b0bda31e1e64504c41 100644 (file)
@@ -21,6 +21,7 @@ obj-$(CONFIG_ARCH_MARCO)      += timer-marco.o
 obj-$(CONFIG_ARCH_MOXART)      += moxart_timer.o
 obj-$(CONFIG_ARCH_MXS)         += mxs_timer.o
 obj-$(CONFIG_ARCH_PRIMA2)      += timer-prima2.o
+obj-$(CONFIG_ARCH_U300)                += timer-u300.o
 obj-$(CONFIG_SUN4I_TIMER)      += sun4i_timer.o
 obj-$(CONFIG_SUN5I_HSTIMER)    += timer-sun5i.o
 obj-$(CONFIG_ARCH_TEGRA)       += tegra20_timer.o
similarity index 99%
rename from arch/arm/mach-u300/timer.c
rename to drivers/clocksource/timer-u300.c
index fe08fd34c0ce8422b00508efb20cb94ff3a2dda2..e63d469661fd547d49154643ed58bb2dcf100023 100644 (file)
@@ -1,8 +1,4 @@
 /*
- *
- * arch/arm/mach-u300/timer.c
- *
- *
  * Copyright (C) 2007-2009 ST-Ericsson AB
  * License terms: GNU General Public License (GPL) version 2
  * Timer COH 901 328, runs the OS timer interrupt.