aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2024-06-29 18:23:13 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2024-07-03 13:11:02 +0200
commit8b4fd1c0dece936dc2c79f2a17d824512e7e7df3 (patch)
tree63ba38ad52b0791f94db0201a723d608b5739329 /package/kernel/linux
parent4e334279653a7a53a3dafdd4236d61d053a91973 (diff)
downloadupstream-8b4fd1c0dece936dc2c79f2a17d824512e7e7df3.tar.gz
upstream-8b4fd1c0dece936dc2c79f2a17d824512e7e7df3.tar.bz2
upstream-8b4fd1c0dece936dc2c79f2a17d824512e7e7df3.zip
kernel: Add kmod-mfd
Package the mfd-core.ko kernel module. It is selected by the kmod-hwmon-gsc already. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: https://github.com/openwrt/openwrt/pull/15833 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/hwmon.mk2
-rw-r--r--package/kernel/linux/modules/other.mk12
2 files changed, 13 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index cb77eed22e2..9a329bc6bca 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -148,7 +148,7 @@ define KernelPackage/hwmon-gsc
$(LINUX_DIR)/drivers/mfd/gateworks-gsc.ko \
$(LINUX_DIR)/drivers/hwmon/gsc-hwmon.ko
AUTOLOAD:=$(call AutoLoad,20,gsc-hwmon,1)
- $(call AddDepends/hwmon,+kmod-i2c-core)
+ $(call AddDepends/hwmon,+kmod-i2c-core +kmod-mfd)
endef
define KernelPackage/hwmon-gsc/description
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 8a505466469..f6f5ecc075a 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -572,6 +572,18 @@ endef
$(eval $(call KernelPackage,bcma))
+define KernelPackage/mfd
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Multifunction device drivers
+ HIDDEN:=1
+ KCONFIG:=CONFIG_MFD_CORE
+ FILES:=$(LINUX_DIR)/drivers/mfd/mfd-core.ko
+ AUTOLOAD:=$(call AutoLoad,10,mfd-core)
+endef
+
+$(eval $(call KernelPackage,mfd))
+
+
define KernelPackage/mtdtests
SUBMENU:=$(OTHER_MENU)
TITLE:=MTD subsystem tests