Add patch for linux-3.0 as well.
authorDaniel Dickinson <crazycshore@gmail.com>
Mon, 3 Oct 2011 03:09:20 +0000 (03:09 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Mon, 3 Oct 2011 03:09:20 +0000 (03:09 +0000)
Fix typo from previous submission with input-keys-polled.
Philip Prindeville - 2011-10-03 01:44:55

SVN-Revision: 28356

package/kernel/modules/leds.mk
target/linux/x86/alix2/target.mk

index 43f3ce9..e6506fa 100644 (file)
@@ -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
index 0c1c3d2..cece30e 100644 (file)
@@ -7,7 +7,7 @@ DEFAULT_PACKAGES += \
                        kmod-wdt-geode kmod-cs5535-clockevt kmod-cs5535-mfgpt \
                        kmod-cs5536 \
                        kmod-hwmon-core kmod-hwmon-lm90 \
-                       kmod-via-rhine kmod-leds-alix \
+                       kmod-via-rhine \
                        kmod-i2c-core kmod-i2c-gpio \
                        kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
                        kmod-i2c-scx200-acb \