[openwrt/openwrt] kernel: fix packaging of kmod-gpio-nxp-74hc164

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 7 03:34:12 PST 2018


jow pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/34e9937f2afdf512506836e27cbc4a720049453f

commit 34e9937f2afdf512506836e27cbc4a720049453f
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Wed Jan 3 13:13:10 2018 +0100

    kernel: fix packaging of kmod-gpio-nxp-74hc164
    
    The NXP 74HC164 GPIO expander driver uses a different config symbol
    ("CONFIG_GPIO_74X164") and module name since since at least Kernel
    version 2.6.37.
    
    Update the kmod package definition accordingly by adjusting kconfig
    and module file names.
    
    This unrelated, but correct change has been separated from the
    WNR2000v5 support commits.
    
    Ref: https://github.com/lede-project/source/pull/1256
    Suggested-by: Raphael Catolino <raphael.catolino at gmail.com>
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 package/kernel/linux/modules/other.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 1c7869e..973e4f3 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -242,9 +242,9 @@ $(eval $(call KernelPackage,gpio-mcp23s08))
 define KernelPackage/gpio-nxp-74hc164
   SUBMENU:=$(OTHER_MENU)
   TITLE:=NXP 74HC164 GPIO expander support
-  KCONFIG:=CONFIG_GPIO_NXP_74HC164
-  FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
-  AUTOLOAD:=$(call AutoProbe,nxp_74hc164)
+  KCONFIG:=CONFIG_GPIO_74X164
+  FILES:=$(LINUX_DIR)/drivers/gpio/gpio-74x164.ko
+  AUTOLOAD:=$(call AutoProbe,gpio-74x164)
 endef
 
 define KernelPackage/gpio-nxp-74hc164/description



More information about the lede-commits mailing list