summaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/leds.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/kernel/modules/leds.mk b/package/kernel/modules/leds.mk
index 43f3ce930..e6506fa55 100644
--- a/package/kernel/modules/leds.mk
+++ b/package/kernel/modules/leds.mk
@@ -8,6 +8,7 @@
LEDS_MENU:=LED modules
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,2.6.39)),1)
define KernelPackage/leds-alix
SUBMENU:=$(LEDS_MENU)
TITLE:=PCengines ALIX LED support
@@ -22,6 +23,7 @@ define KernelPackage/leds-alix/description
endef
$(eval $(call KernelPackage,leds-alix))
+endif
define KernelPackage/leds-gpio