[kernel] The location of eeprom_93cx6.ko has chanced.
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 May 2009 15:13:18 +0000 (15:13 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 May 2009 15:13:18 +0000 (15:13 +0000)
SVN-Revision: 15540

package/kernel/modules/other.mk

index 2d32b4994ab38850c0db217b11cad1a496443b10..3b41e9d32df8c32f8feaed46f21bd8c4f46bc8d9 100644 (file)
@@ -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