X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cbb8a432c4632cac90cdf07a4cea61ed3056fb6c..427aee5968a0dfd2b86ba129b330d5dbcedef563:/package/kernel/modules/other.mk?ds=inline diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index cd3e257a8..5398e5efd 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