On Tue, 31 Jan 2017, Noralf Trønnes noralf@tronnes.org wrote:
+#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE
BACKLIGHT_CLASS_DEVICE is a tristate, you'll want
#if IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE)
and probably either
depends on BACKLIGHT_CLASS_DEVICE
or
depends on BACKLIGHT_CLASS_DEVICE || BACKLIGHT_CLASS_DEVICE=n
in your Kconfig.
BR, Jani.