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@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-01-03 13:13:10 +01:00
parent 3f5e39e960
commit 34e9937f2a

View file

@ -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