Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: u300: move timer driver to clocksource

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>

authored by

Linus Walleij and committed by
Daniel Lezcano
9affbd24 7b52ad2e

+3 -5
+1
MAINTAINERS
··· 1319 1319 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 1320 1320 S: Supported 1321 1321 F: arch/arm/mach-u300/ 1322 + F: drivers/clocksource/timer-u300.c 1322 1323 F: drivers/i2c/busses/i2c-stu300.c 1323 1324 F: drivers/rtc/rtc-coh901331.c 1324 1325 F: drivers/watchdog/coh901327_wdt.c
+1 -1
arch/arm/mach-u300/Makefile
··· 2 2 # Makefile for the linux kernel, U300 machine. 3 3 # 4 4 5 - obj-y := core.o timer.o 5 + obj-y := core.o 6 6 obj-m := 7 7 obj-n := 8 8 obj- :=
-4
arch/arm/mach-u300/timer.c drivers/clocksource/timer-u300.c
··· 1 1 /* 2 - * 3 - * arch/arm/mach-u300/timer.c 4 - * 5 - * 6 2 * Copyright (C) 2007-2009 ST-Ericsson AB 7 3 * License terms: GNU General Public License (GPL) version 2 8 4 * Timer COH 901 328, runs the OS timer interrupt.
+1
drivers/clocksource/Makefile
··· 21 21 obj-$(CONFIG_ARCH_MOXART) += moxart_timer.o 22 22 obj-$(CONFIG_ARCH_MXS) += mxs_timer.o 23 23 obj-$(CONFIG_ARCH_PRIMA2) += timer-prima2.o 24 + obj-$(CONFIG_ARCH_U300) += timer-u300.o 24 25 obj-$(CONFIG_SUN4I_TIMER) += sun4i_timer.o 25 26 obj-$(CONFIG_SUN5I_HSTIMER) += timer-sun5i.o 26 27 obj-$(CONFIG_ARCH_TEGRA) += tegra20_timer.o