summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-05-01 15:13:18 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-05-01 15:13:18 +0000
commitfd2492485e1c4b69c65ae7737901044d5957bf0c (patch)
tree31d213dafb85a6851f384387705d9658938c140a
parent496aad105815ba8b2e1d1137e7c486e93d98d1a1 (diff)
downloadmtk-20170518-fd2492485e1c4b69c65ae7737901044d5957bf0c.zip
mtk-20170518-fd2492485e1c4b69c65ae7737901044d5957bf0c.tar.gz
mtk-20170518-fd2492485e1c4b69c65ae7737901044d5957bf0c.tar.bz2
The location of eeprom_93cx6.ko has chanced.
SVN-Revision: 15540
-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 2d32b49..3b41e9d 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