summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-09 22:25:15 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-09 22:25:15 +0000
commitd2983aa0bea0a9022fba3a400b4fe5f782d34a57 (patch)
treecfbc8f7c1a61c3bc672612158748a5de6a9fde89 /package/kernel
parentb5f7d6d23875c39ef9719c1d0f11df8a39d901e3 (diff)
[package] kernel: fix packaging of kmod-cs5535-gpio, thanks Philip Prindeville
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24950 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index cd3e257a89..5398e5efd1 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -169,7 +169,7 @@ define KernelPackage/gpio-cs5535
DEPENDS:=@TARGET_x86
KCONFIG:=CONFIG_CS5535_GPIO \
CONFIG_GPIO_CS5535
-ifeq ($(CONFIG_LINUX_2_6_32),y)
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.32)),1)
FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
else