From: Michal Simek Date: Mon, 17 Jul 2017 09:28:55 +0000 (+0200) Subject: mfd: Kconfig: Add missing Kconfig dependency for TPS65086 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c8f124893c4a691bdae5e9258cb0bca44653f08;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mfd: Kconfig: Add missing Kconfig dependency for TPS65086 MTF_CORE should be enabled when driver is enabled. Without this patch you can configure: CONFIG_MFD_CORE is not set CONFIG_MFD_TPS65086=y ... which ends up with compilation error: drivers/mfd/tps65086.o: In function `tps65086_probe': drivers/mfd/tps65086.c:110: undefined reference to `mfd_add_devices' drivers/mfd/tps65086.c:110:(.text+0x128): relocation truncated to fit: \ R_AARCH64_CALL26 against undefined symbol `mfd_add_devices' Signed-off-by: Michal Simek Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 7a01e70ac0ab..42fb90ae3345 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1294,6 +1294,7 @@ config TPS6507X config MFD_TPS65086 tristate "TI TPS65086 Power Management Integrated Chips (PMICs)" + select MFD_CORE select REGMAP select REGMAP_IRQ select REGMAP_I2C