Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

From: Russell King - ARM Linux
Date: Wed Jan 09 2013 - 06:59:10 EST


On Wed, Jan 09, 2013 at 11:56:55AM +0000, Arnd Bergmann wrote:
> On Wednesday 09 January 2013, Russell King - ARM Linux wrote:
> > > If so, that's wrong, as it covers many more boards than just Snowball
> > > and this is only applicable on the Snowball board. So how else can
> > > I enable this feature?
> >
> > And why is it wrong to enable an optional feature in a defconfig which some
> > boards using that defconfig may want?
> >
> > It's less wrong than forcing user selectable options to be mandatorily
> > selected.
>
> Right. The change I suggested fixes the build errors but doesn't actually
> make the intended behavior correct. Just using a configuration file is the
> right solution here.

Hang on a moment: if the lack of the LEDs support leads to build errors,
doesn't that mean there's missing conditional compilation?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/