aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2009-05-01 15:13:18 +0000
committerHauke Mehrtens <hauke@openwrt.org>2009-05-01 15:13:18 +0000
commit63888424461e8f42396079b1ea78c45e0c4d6f0f (patch)
tree9c87375d033bcb4fd170055be1ac24e58ae1661b /package/kernel
parent2aa7aef9523436806e87a48ff5647636e2dd7a41 (diff)
downloadupstream-63888424461e8f42396079b1ea78c45e0c4d6f0f.tar.gz
upstream-63888424461e8f42396079b1ea78c45e0c4d6f0f.tar.bz2
upstream-63888424461e8f42396079b1ea78c45e0c4d6f0f.zip
[kernel] The location of eeprom_93cx6.ko has chanced.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15540 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 2d32b4994a..3b41e9d32d 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -71,7 +71,11 @@ define KernelPackage/eeprom-93cx6
TITLE:=EEPROM 93CX6 support
DEPENDS:=@LINUX_2_6
KCONFIG:=CONFIG_EEPROM_93CX6
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.29)),1)
+ FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
+else
FILES:=$(LINUX_DIR)/drivers/misc/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
+endif
AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
endef