[package] kernel: fix packaging of kmod-cs5535-gpio, thanks Philip Prindeville
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 9 Jan 2011 22:25:15 +0000 (22:25 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 9 Jan 2011 22:25:15 +0000 (22:25 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24950 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/modules/other.mk

index cd3e257..5398e5e 100644 (file)
@@ -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
This page took 0.03005 seconds and 4 git commands to generate.