kernel: modules: gpio.mk: renamed from gpio-cascade.mk
authorChukun Pan <amadeus@jmu.edu.cn>
Fri, 10 Nov 2023 15:16:21 +0000 (23:16 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 1 Feb 2024 16:04:51 +0000 (17:04 +0100)
This can be used to place the gpio module, so rename it.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
package/kernel/linux/modules/gpio-cascade.mk [deleted file]
package/kernel/linux/modules/gpio.mk [new file with mode: 0644]

diff --git a/package/kernel/linux/modules/gpio-cascade.mk b/package/kernel/linux/modules/gpio-cascade.mk
deleted file mode 100644 (file)
index 3a559f1..0000000
+++ /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 (file)
index 0000000..62d2688
--- /dev/null
@@ -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))