linux-yocto/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>
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
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
exynos-regulator-coupler.c
exynos-usi.c soc: samsung: include linux/array_size.h where needed 2025-05-29 11:02:27 +02:00
exynos4-pmu.c
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
exynos5422-asv.h
Kconfig
Makefile
s3c-pm-check.c