Re: awful kconfig help texts.

From: Borislav Petkov
Date: Wed Aug 01 2012 - 06:05:35 EST


On Wed, Aug 01, 2012 at 11:38:16AM +0200, Lars-Peter Clausen wrote:
> You don't see any drivers, because the subsystem is still young and no
> such arch independent drivers have been added yet, but they will get
> added in the future. The arch independent companion or PWM expander
> chips usually interface via I2S or SPI and I would consider it quite
> likely that you'll also find them on some embedded X86 boards. If we
> add a arch restriction to the config item now we'd quite likely have
> to remove it again in the next release.

Yes please.

Kconfig is overcrowded as it is now and adding yet another option which
is irrelevant for some arches (for now, as you say) simply causes
confusion to people with absolutely no gain.

Simply take a look at all arch/<archname>/Kconfig files and look at all
the "select ..." statements right at the beginning of the respective
Kconfig file.

Each arch which has PWM drivers would select the synthetic
CONFIG_ARCH_PWM option and CONFIG_PWM would depend on it.

--
Regards/Gruss,
Boris.
--
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/