soc: samsung: pm_domains: Enable COMPILE_TEST for build coverage
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 10 May 2016 14:31:26 +0000 (16:31 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 30 May 2016 07:12:57 +0000 (09:12 +0200)
Introduce a platform selectable symbol EXYNOS_PM_DOMAINS which can be
also toggled on by COMPILE_TEST for some build coverage.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/mach-exynos/Kconfig
drivers/soc/samsung/Kconfig
drivers/soc/samsung/Makefile

index e65aa7d11b20971493a730f8a47754bdf3f484cc..58b334f5f1d6d44f1bb0be455201c2310131b43a 100644 (file)
@@ -19,6 +19,7 @@ menuconfig ARCH_EXYNOS
        select EXYNOS_THERMAL
        select EXYNOS_PMU
        select EXYNOS_SROM
+       select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
        select HAVE_ARM_SCU if SMP
        select HAVE_S3C2410_I2C if I2C
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
index d7fc123006a3158e37f8bc11d3e286e4ed7b4af8..245533907d1ba51d59e784d644303db88076e582 100644 (file)
@@ -10,4 +10,8 @@ config EXYNOS_PMU
        bool "Exynos PMU controller driver" if COMPILE_TEST
        depends on (ARM && ARCH_EXYNOS) || ((ARM || ARM64) && COMPILE_TEST)
 
+config EXYNOS_PM_DOMAINS
+       bool "Exynos PM domains" if COMPILE_TEST
+       depends on PM_GENERIC_DOMAINS || COMPILE_TEST
+
 endif
index 8aead5835defaf8f935bb91c4aa23225d5d6b5d9..3619f2ecddaa787da3bd19f86c3cc35b0a39c50e 100644 (file)
@@ -1,3 +1,3 @@
 obj-$(CONFIG_EXYNOS_PMU)       += exynos-pmu.o exynos3250-pmu.o exynos4-pmu.o \
                                        exynos5250-pmu.o exynos5420-pmu.o
-obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o
+obj-$(CONFIG_EXYNOS_PM_DOMAINS) += pm_domains.o