$(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
$(eval $(call KernelPackage,rtc-s35390a))
+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