diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-08-16 12:39:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-08-16 12:39:47 +0000 |
commit | 219e7743a4732626ae4a8070d711c0205a514879 (patch) | |
tree | b2c21203d9ecd6f76f6352e4d08b6fb4aba0fa52 /package/kernel | |
parent | 2f3a8a9296c672b95aea50a229c98c895bc39fd6 (diff) | |
download | upstream-219e7743a4732626ae4a8070d711c0205a514879.tar.gz upstream-219e7743a4732626ae4a8070d711c0205a514879.tar.bz2 upstream-219e7743a4732626ae4a8070d711c0205a514879.zip |
Fix broken i2c module loading in R17269
Strip .ko suffix from module name.
Fix typo in name of i2c-scx200-acb module to be loaded.
Steve
Signed-off-by: Steve Brown <sbrown@cortland.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17288 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/modules/i2c.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk index 78c364db4e..ed626fcf01 100644 --- a/package/kernel/modules/i2c.mk +++ b/package/kernel/modules/i2c.mk @@ -11,7 +11,7 @@ ModuleConfVar=$(word 1,$(subst :,$(space),$(1))) ModuleFullPath=$(if $(findstring y,$($(call ModuleConfVar,$(1)))),,$(LINUX_DIR)/$(word 2,$(subst :,$(space),$(1))).$(LINUX_KMOD_SUFFIX)) ModuleKconfig=$(foreach mod,$(1),$(call ModuleConfVar,$(mod))) ModuleFiles=$(foreach mod,$(1),$(call ModuleFullPath,$(mod))) -ModuleAuto=$(call AutoLoad,$(1),$(foreach mod,$(2),$(notdir $(call ModuleFullPath,$(mod)))),$(3)) +ModuleAuto=$(call AutoLoad,$(1),$(foreach mod,$(2),$(basename $(notdir $(call ModuleFullPath,$(mod))))),$(3)) define i2c_defaults SUBMENU:=$(I2C_MENU) @@ -121,7 +121,7 @@ $(eval $(call KernelPackage,i2c-scx200)) I2C_SCX200_ACB_MODULES:=\ - CONFIG_SCx200_ACB:drivers/i2c/busses/scx200_i2c + CONFIG_SCx200_ACB:drivers/i2c/busses/scx200_acb define KernelPackage/i2c-scx200-acb $(call i2c_defaults,$(I2C_SCX200_ACB_MODULES),59) |