[PATCH 16/21] drivers: Enable building of Kirkwood drivers for mach-mvebu

Andrew Lunn andrew at lunn.ch
Fri Feb 7 04:13:36 EST 2014


On Thu, Feb 06, 2014 at 08:59:15PM -0500, Jason Cooper wrote:
> On Fri, Feb 07, 2014 at 12:42:12AM +0100, Andrew Lunn wrote:
> > With the move to mach-mvebu, drivers Kconfig need tweeking to allow
> > the kirkwood specific drivers to be built.
> > 
> > Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> > ---
> >  drivers/cpufreq/Kconfig.arm | 2 +-
> >  drivers/cpuidle/Kconfig.arm | 2 +-
> >  drivers/leds/Kconfig        | 4 ++--
> >  drivers/phy/Kconfig         | 2 +-
> >  drivers/thermal/Kconfig     | 2 +-
> >  sound/soc/kirkwood/Kconfig  | 2 +-
> >  6 files changed, 7 insertions(+), 7 deletions(-)
> > 
> > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> > index 31297499a60a..de931081fd01 100644
> > --- a/drivers/cpufreq/Kconfig.arm
> > +++ b/drivers/cpufreq/Kconfig.arm
> > @@ -113,7 +113,7 @@ config ARM_INTEGRATOR
> >  	  If in doubt, say Y.
> >  
> >  config ARM_KIRKWOOD_CPUFREQ
> > -	def_bool ARCH_KIRKWOOD && OF
> > +	def_bool (ARCH_KIRKWOOD || MACH_KIRKWOOD) && OF
> 
> I agree with creating MACH_KIRKWOOD underneath ARCH_MVEBU earlier in
> this series, but the 'ARCH_KIRKWOOD || MACH_KIRKWOOD' just looks
> confusing.  Also, MACH_KIRKWOOD implies OF so this particular one could
> be reduced to
> 
> 	def_bool MACH_KIRKWOOD

Yes, will do.

Thanks
	Andrew



More information about the linux-arm-kernel mailing list