linux/drivers/soc/samsung
Arnd Bergmann 8fc16414c3 soc: samsung: include linux/array_size.h where needed
[ Upstream commit 4c57930f68 ]

This does not necessarily get included through asm/io.h:

drivers/soc/samsung/exynos3250-pmu.c:120:18: error: use of undeclared identifier 'ARRAY_SIZE'
  120 |         for (i = 0; i < ARRAY_SIZE(exynos3250_list_feed); i++) {
      |                         ^
drivers/soc/samsung/exynos5250-pmu.c:162:18: error: use of undeclared identifier 'ARRAY_SIZE'
  162 |         for (i = 0; i < ARRAY_SIZE(exynos5_list_both_cnt_feed); i++) {
      |                         ^

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250305211446.43772-1-arnd@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-05-29 11:02:27 +02:00
..
exynos-asv.c soc: samsung: include linux/array_size.h where needed 2025-05-29 11:02:27 +02: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: include linux/array_size.h where needed 2025-05-29 11:02:27 +02:00
exynos-pmu.c soc: samsung: include linux/array_size.h where needed 2025-05-29 11:02:27 +02:00
exynos-pmu.h soc: samsung: exynos-pmu: Add regmap support for SoCs that protect PMU regs 2024-02-25 11:39:23 +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
exynos-usi.c soc: samsung: include linux/array_size.h where needed 2025-05-29 11:02:27 +02:00
exynos4-pmu.c soc: samsung: exynos-pmu: Re-introduce Exynos4212 support 2023-05-09 19:49:37 +02:00
exynos3250-pmu.c soc: samsung: include linux/array_size.h where needed 2025-05-29 11:02:27 +02:00
exynos5250-pmu.c soc: samsung: include linux/array_size.h where needed 2025-05-29 11:02:27 +02:00
exynos5420-pmu.c soc: samsung: include linux/array_size.h where needed 2025-05-29 11:02:27 +02:00
exynos5422-asv.c soc: samsung: exynos-chipid: convert to a module 2021-09-29 15:50:34 +02:00
exynos5422-asv.h soc: samsung: Add Exynos Adaptive Supply Voltage driver 2019-10-28 17:59:33 +01:00
Kconfig soc: samsung: exynos-pmu: Add regmap support for SoCs that protect PMU regs 2024-02-25 11:39:23 +01:00
Makefile soc: samsung: Move power-domain driver to the genpd dir 2023-07-14 10:40:56 +02:00
s3c-pm-check.c soc: samsung: s3c-pm-check: Fix incorrectly named variable 'val' 2020-11-03 21:37:45 +01:00