kernel: eliminate a few kernel_patchver_*/CompareKernelPatchVer calls

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44114 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2015-01-24 22:13:31 +00:00
parent ac28fb42d4
commit 61bb03d2eb
3 changed files with 9 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ $(eval $(call KernelPackage,hwmon-vid))
define KernelPackage/hwmon-adt7410
TITLE:=ADT7410 monitoring support
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.10.0)),1)
ifeq ($(CONFIG_LINUX_3_8)),)
KCONFIG:= \
CONFIG_SENSORS_ADT7X10 \
CONFIG_SENSORS_ADT7410