drivers: soc: samsung: Enable COMPILE_TEST
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 2 Feb 2016 06:24:13 +0000 (15:24 +0900)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 25 Feb 2016 02:25:40 +0000 (11:25 +0900)
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>
drivers/soc/samsung/Kconfig

index 2dff95d..d7fc123 100644 (file)
@@ -1,13 +1,13 @@
 #
 # SAMSUNG SoC drivers
 #
-menu "Samsung SOC driver support"
+menuconfig SOC_SAMSUNG
+       bool "Samsung SoC driver support" if COMPILE_TEST
 
-config SOC_SAMSUNG
-       bool
+if SOC_SAMSUNG
 
 config EXYNOS_PMU
-       bool
-       depends on ARM && ARCH_EXYNOS
+       bool "Exynos PMU controller driver" if COMPILE_TEST
+       depends on (ARM && ARCH_EXYNOS) || ((ARM || ARM64) && COMPILE_TEST)
 
-endmenu
+endif