From e00dcbc59328912c760af087e0a56a090f2c9644 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 3 Apr 2011 23:30:26 +0000
Subject: [PATCH] x86/geos: redux of cs5535 version

The previous technique didn't work with "make defconfig" correctly.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26458
---
 target/linux/x86/geos/target.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/x86/geos/target.mk b/target/linux/x86/geos/target.mk
index 4c03eca65f..b89a128fe3 100644
--- a/target/linux/x86/geos/target.mk
+++ b/target/linux/x86/geos/target.mk
@@ -1,6 +1,6 @@
 BOARDNAME:=Traverse Geos
 FEATURES:=squashfs jffs2 ext4 pci usb gpio
-GEOS_GPIO = $(if $(findstring 1,$(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),gpio-cs5535-new,gpio-cs5535)
+GEOS_GPIO = $(if $(findstring 2.6.32,$(LINUX_VERSION)),gpio-cs5535,gpio-cs5535-new)
 DEFAULT_PACKAGES += kmod-ata-via-sata \
             kmod-crypto-hw-geode kmod-crypto-ocf \
             kmod-$(GEOS_GPIO) kmod-gpio-nsc \
-- 
2.30.2