From: Chukun Pan Date: Fri, 10 Nov 2023 15:16:21 +0000 (+0800) Subject: kernel: modules: gpio.mk: renamed from gpio-cascade.mk X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=45554ffb96b2c5f621061ab72c0b5fcd1cd6369f;p=openwrt%2Fstaging%2Fthess.git kernel: modules: gpio.mk: renamed from gpio-cascade.mk This can be used to place the gpio module, so rename it. Signed-off-by: Chukun Pan --- diff --git a/package/kernel/linux/modules/gpio-cascade.mk b/package/kernel/linux/modules/gpio-cascade.mk deleted file mode 100644 index 3a559f19ef..0000000000 --- a/package/kernel/linux/modules/gpio-cascade.mk +++ /dev/null @@ -1,20 +0,0 @@ -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -MENU_TITLE:=GPIO support - -define KernelPackage/gpio-cascade - SUBMENU:=$(MENU_TITLE) - TITLE:=Generic GPIO cascade - KCONFIG:=CONFIG_GPIO_CASCADE - DEPENDS:=@GPIO_SUPPORT +kmod-mux-core - FILES:=$(LINUX_DIR)/drivers/gpio/gpio-cascade.ko - AUTOLOAD:=$(call AutoLoad,29,gpio-cascade,1) -endef - -define KernelPackage/gpio-cascade/description - Kernel module for Generic GPIO cascade -endef - -$(eval $(call KernelPackage,gpio-cascade)) diff --git a/package/kernel/linux/modules/gpio.mk b/package/kernel/linux/modules/gpio.mk new file mode 100644 index 0000000000..62d2688ee0 --- /dev/null +++ b/package/kernel/linux/modules/gpio.mk @@ -0,0 +1,20 @@ +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +GPIO_MENU:=GPIO support + +define KernelPackage/gpio-cascade + SUBMENU:=$(GPIO_MENU) + TITLE:=Generic GPIO cascade + KCONFIG:=CONFIG_GPIO_CASCADE + DEPENDS:=@GPIO_SUPPORT +kmod-mux-core + FILES:=$(LINUX_DIR)/drivers/gpio/gpio-cascade.ko + AUTOLOAD:=$(call AutoLoad,29,gpio-cascade,1) +endef + +define KernelPackage/gpio-cascade/description + Kernel module for Generic GPIO cascade +endef + +$(eval $(call KernelPackage,gpio-cascade))