aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-09 22:25:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-09 22:25:15 +0000
commit6322a8be780d28e7d4ba22869ae7f3b72b819bbc (patch)
tree1dda47a9a42d07f6ea39b2b4c9f407c24a90614a
parent6528a58151ee3e7fb70a1df33e898aa95b8b198e (diff)
downloadupstream-6322a8be780d28e7d4ba22869ae7f3b72b819bbc.tar.gz
upstream-6322a8be780d28e7d4ba22869ae7f3b72b819bbc.tar.bz2
upstream-6322a8be780d28e7d4ba22869ae7f3b72b819bbc.zip
kernel: fix packaging of kmod-cs5535-gpio, thanks Philip Prindeville
SVN-Revision: 24950
-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