Browse Source

The location of eeprom_93cx6.ko has chanced.

SVN-Revision: 15540
Hauke Mehrtens 16 years ago
parent
commit
fd2492485e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/kernel/modules/other.mk

+ 4 - 0
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