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 43f3ce930e05a0b1cc0816628624e0b743ec67be..e6506fa55827475ad1807a1092febab22dd66ec3 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 0c1c3d2dcb5a4a5ed78a0e2113765c7a0f583a04..cece30e173b7b0b1122d304df5efa22e9640fdd4 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 \