WSL2-Linux-Kernel/drivers/soc/samsung
David Virag 22c84fe73e soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE
commit e37ef6dcdb upstream.

Commit 93618e344a ("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: 93618e344a ("soc: samsung: exynos-pmu: instantiate clkout driver as MFD")
Cc: <stable@vger.kernel.org>
Signed-off-by: David Virag <virag.david003@gmail.com>
Link: https://lore.kernel.org/r/20210909222812.108614-1-virag.david003@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-18 19:16:01 +01:00
..
Kconfig soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE 2021-11-18 19:16:01 +01:00
Makefile soc: samsung: exynos-chipid: convert to driver and merge exynos-asv 2021-01-03 17:08:45 +01:00
exynos-asv.c soc: samsung: exynos-chipid: convert to driver and merge exynos-asv 2021-01-03 17:08:45 +01:00
exynos-asv.h soc: samsung: exynos-chipid: convert to driver and merge exynos-asv 2021-01-03 17:08:45 +01:00
exynos-chipid.c soc: samsung: exynos-chipid: correct helpers __init annotation 2021-01-08 18:10:33 +01:00
exynos-pmu.c soc: samsung: exynos-pmu: instantiate clkout driver as MFD 2020-10-28 23:02:02 +01:00
exynos-pmu.h soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos-regulator-coupler.c soc: samsung: exynos-regulator-coupler: Add simple voltage coupler for Exynos5800 2020-07-22 22:33:57 +02:00
exynos4-pmu.c soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos3250-pmu.c soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos5250-pmu.c soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos5420-pmu.c soc: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:46:31 +01:00
exynos5422-asv.c soc: samsung: exynos5422-asv: remove unneeded semicolon 2020-11-02 19:46:46 +01:00
exynos5422-asv.h soc: samsung: Add Exynos Adaptive Supply Voltage driver 2019-10-28 17:59:33 +01:00
pm_domains.c soc: samsung: pm_domains: Convert to regular platform driver 2021-01-15 20:50:34 +01:00
s3c-pm-check.c soc: samsung: s3c-pm-check: Fix incorrectly named variable 'val' 2020-11-03 21:37:45 +01:00
s3c-pm-debug.c ARM: samsung: move pm check code to drivers/soc 2020-08-19 21:23:46 +02:00