[PATCH] backlight: add PWM dependencies

Linus Walleij linus.walleij at linaro.org
Mon Feb 10 06:09:29 EST 2014

On Mon, Feb 10, 2014 at 11:40 AM, Thierry Reding
<thierry.reding at gmail.com> wrote:

> it seems like at least BACKLIGHT_LP8788 is missing a corresponding
> dependency as well.
> I have applied Sascha's patch to remove the obsolete HAVE_PWM symbol,
> and this will fix at least the build issues. However it will also cause
> the driver to fail at runtime because the pwm_*() functions won't work.

So it definately needs that API, not just stubs.

But isn't it proper for Kconfig to allow you to break things
like that by configuring out stuff and have stubs come in?

I'm a bit torn here.

Linus Walleij

More information about the linux-arm-kernel mailing list