From mboxrd@z Thu Jan 1 00:00:00 1970 From: horms@verge.net.au (Simon Horman) Date: Wed, 25 Sep 2013 14:06:47 +0900 Subject: [PATCH] ARM: shmobile: Allow build of the MTU2 timer driver In-Reply-To: References: <20130918195000.6075.25025.sendpatchset@w520> Message-ID: <20130925050647.GG24243@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Sep 18, 2013 at 01:53:48PM -0700, Olof Johansson wrote: > Hi, > > > On Wed, Sep 18, 2013 at 12:50 PM, Magnus Damm wrote: > > From: Magnus Damm > > > > Include MTU2 in the list of timer drivers that may > > be used on mach-shmobile. This driver has previously > > only been used by the SH architecture. With this patch > > the MTU2 joins TMU and CMT as timer drivers that may be > > used on ARM or SH. > > > > Signed-off-by: Magnus Damm > > --- > > > > arch/arm/mach-shmobile/Kconfig | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > --- 0004/arch/arm/mach-shmobile/Kconfig > > +++ work/arch/arm/mach-shmobile/Kconfig 2013-09-19 04:17:55.000000000 +0900 > > @@ -314,6 +314,12 @@ config SH_TIMER_CMT > > help > > This enables build of the CMT timer driver. > > > > +config SH_TIMER_MTU2 > > + bool "MTU2 timer driver" > > + default y > > + help > > + This enables build of the MTU2 timer driver. > > It's odd to have the config entry in arch/arm/ when the driver is in > drivers/clocksource. I think this entry should be moved to > drivers/clocksource/Kconfig for that reason (with appropriate > dependencies). This sounds logical to me. Magnus, how do you feel about this?