summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski2016-02-02 07:24:13 +0100
committerKrzysztof Kozlowski2016-02-25 03:25:40 +0100
commitb11301d5adef74c8f8d80eb5a134cc4f3057aaa0 (patch)
tree70eccbe1e10666be7a321eec4cccdf2d5494e884
parentMAINTAINERS: Add maintainers entry for drivers/soc/samsung (diff)
downloadkernel-qcow2-linux-b11301d5adef74c8f8d80eb5a134cc4f3057aaa0.tar.gz
kernel-qcow2-linux-b11301d5adef74c8f8d80eb5a134cc4f3057aaa0.tar.xz
kernel-qcow2-linux-b11301d5adef74c8f8d80eb5a134cc4f3057aaa0.zip
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>
-rw-r--r--drivers/soc/samsung/Kconfig12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig
index 2dff95dc697d..d7fc123006a3 100644
--- a/drivers/soc/samsung/Kconfig
+++ b/drivers/soc/samsung/Kconfig
@@ -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