[linux-yocto] [PATCH 3/3] leds.cfg: Remove CONFIG_LEDS_TRIGGER_CPU
California Sullivan
california.l.sullivan at intel.com
Fri Dec 2 16:00:52 PST 2016
This is incompatible with preempt-rt and would be a mess to fix any
other way. If we were to move CONFIG_LEDS_TRIGGER_CPU to a new feature
such as leds-full, it would require us to add leds-full to every non-rt
BSP wanting leds support, and -rt BSPs would need the feature without
it. Setting "# CONFIG_LEDS_TRIGGER_CPU is not set" also doesn't work, as
it depends on !PREEMPT_RT_BASE, making it completely unavailable for
setting and still giving us a warning in kernel_configcheck.
All this option does is allow CPUs to trigger LEDs based on their usage,
so it is not a major loss anyway.
Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
features/leds/leds.cfg | 2 --
1 file changed, 2 deletions(-)
diff --git a/features/leds/leds.cfg b/features/leds/leds.cfg
index 77f5209..78bb13b 100644
--- a/features/leds/leds.cfg
+++ b/features/leds/leds.cfg
@@ -2,8 +2,6 @@ CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_TRIGGERS=y
-CONFIG_LEDS_TRIGGER_CPU=y
-
CONFIG_LEDS_TRIGGER_TIMER=y
CONFIG_LEDS_TRIGGER_ONESHOT=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
--
2.5.5
More information about the linux-yocto
mailing list