mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
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>
This commit is contained in:
parent
4e33427965
commit
8b4fd1c0de
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user