From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Linus Walleij <linus.walleij@linaro.org>,
linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] ARM: u300: move timer driver to clocksource
Date: Tue, 21 Jan 2014 15:08:08 +0100 [thread overview]
Message-ID: <52DE7F48.5000207@linaro.org> (raw)
In-Reply-To: <1390312354-32689-1-git-send-email-linus.walleij@linaro.org>
On 01/21/2014 02:52 PM, Linus Walleij wrote:
> 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>
Hi Linus,
I applied this patch on my tree for 3.15.
Thanks !
-- Daniel
> ---
> Hi Daniel/tglx, if you prefer I can take this through ARM SoC
> but since I'm listed as maintainer for this driver and nothing
> much is happening on the U300, feel free to apply it to your
> tree.
> ---
> MAINTAINERS | 1 +
> arch/arm/mach-u300/Makefile | 2 +-
> drivers/clocksource/Makefile | 1 +
> arch/arm/mach-u300/timer.c => drivers/clocksource/timer-u300.c | 4 ----
> 4 files changed, 3 insertions(+), 5 deletions(-)
> rename arch/arm/mach-u300/timer.c => drivers/clocksource/timer-u300.c (99%)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 6a6e4ac72287..ede1049b2aa0 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1296,6 +1296,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
> diff --git a/arch/arm/mach-u300/Makefile b/arch/arm/mach-u300/Makefile
> index 0f362b64fb87..3ec74ac95bc1 100644
> --- a/arch/arm/mach-u300/Makefile
> +++ b/arch/arm/mach-u300/Makefile
> @@ -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- :=
> diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile
> index 33621efb9148..dc17673d7397 100644
> --- a/drivers/clocksource/Makefile
> +++ b/drivers/clocksource/Makefile
> @@ -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_ARCH_TEGRA) += tegra20_timer.o
> obj-$(CONFIG_VT8500_TIMER) += vt8500_timer.o
> diff --git a/arch/arm/mach-u300/timer.c b/drivers/clocksource/timer-u300.c
> similarity index 99%
> rename from arch/arm/mach-u300/timer.c
> rename to drivers/clocksource/timer-u300.c
> index 5226162fac69..79722349955e 100644
> --- a/arch/arm/mach-u300/timer.c
> +++ b/drivers/clocksource/timer-u300.c
> @@ -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.
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
prev parent reply other threads:[~2014-01-21 14:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-21 13:52 [PATCH] ARM: u300: move timer driver to clocksource Linus Walleij
2014-01-21 14:08 ` Daniel Lezcano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52DE7F48.5000207@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox