Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers: soc: samsung: Enable COMPILE_TEST

Get some build coverage of Exynos PMU driver. It depends on
asm/cputype.h so its compilation is limited to ARM architectures.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

+6 -6
+6 -6
drivers/soc/samsung/Kconfig
··· 1 1 # 2 2 # SAMSUNG SoC drivers 3 3 # 4 - menu "Samsung SOC driver support" 4 + menuconfig SOC_SAMSUNG 5 + bool "Samsung SoC driver support" if COMPILE_TEST 5 6 6 - config SOC_SAMSUNG 7 - bool 7 + if SOC_SAMSUNG 8 8 9 9 config EXYNOS_PMU 10 - bool 11 - depends on ARM && ARCH_EXYNOS 10 + bool "Exynos PMU controller driver" if COMPILE_TEST 11 + depends on (ARM && ARCH_EXYNOS) || ((ARM || ARM64) && COMPILE_TEST) 12 12 13 - endmenu 13 + endif