This is a note to let you know that I've just added the patch titled soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: soc-samsung-exynos-pmu-fix-compilation-when-nothing-selects-config_mfd_core.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From e37ef6dcdb1f4738b01cec7fb7be46af07816af9 Mon Sep 17 00:00:00 2001 From: David Virag <virag.david003@xxxxxxxxx> Date: Fri, 10 Sep 2021 00:28:12 +0200 Subject: soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE From: David Virag <virag.david003@xxxxxxxxx> commit e37ef6dcdb1f4738b01cec7fb7be46af07816af9 upstream. Commit 93618e344a5e ("soc: samsung: exynos-pmu: instantiate clkout driver as MFD") adds a "devm_mfd_add_devices" call in the exynos-pmu driver which depends on CONFIG_MFD_CORE. If no driver selects that config, the build will fail if CONFIG_EXYNOS_PMU is enabled with the following error: drivers/soc/samsung/exynos-pmu.c:137: undefined reference to `devm_mfd_add_devices' Fix this by making CONFIG_EXYNOS_PMU select CONFIG_MFD_CORE. Fixes: 93618e344a5e ("soc: samsung: exynos-pmu: instantiate clkout driver as MFD") Cc: <stable@xxxxxxxxxxxxxxx> Signed-off-by: David Virag <virag.david003@xxxxxxxxx> Link: https://lore.kernel.org/r/20210909222812.108614-1-virag.david003@xxxxxxxxx Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/soc/samsung/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/soc/samsung/Kconfig +++ b/drivers/soc/samsung/Kconfig @@ -25,6 +25,7 @@ config EXYNOS_PMU bool "Exynos PMU controller driver" if COMPILE_TEST depends on ARCH_EXYNOS || ((ARM || ARM64) && COMPILE_TEST) select EXYNOS_PMU_ARM_DRIVERS if ARM && ARCH_EXYNOS + select MFD_CORE # There is no need to enable these drivers for ARMv8 config EXYNOS_PMU_ARM_DRIVERS Patches currently in stable-queue which might be from virag.david003@xxxxxxxxx are queue-5.15/soc-samsung-exynos-pmu-fix-compilation-when-nothing-selects-config_mfd_core.patch