diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-08-19 02:36:55 -0400 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2016-09-06 00:08:40 -0400 |
commit | 797da5598f3a6fd92a514352d67078a682a432cb (patch) | |
tree | 9396e36e2da21e73bdaef1216d9ac196dc7a0e20 | |
parent | 0b38ed36a1ac5e8b8c6bee6f10aada45111a0658 (diff) |
PM / devfreq: Add COMPILE_TEST for build coverage
The SoC-specific devfreq and devfreq-event drivers can be build tested
on all architectures.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r-- | drivers/devfreq/Kconfig | 4 | ||||
-rw-r--r-- | drivers/devfreq/event/Kconfig | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index a5be56ec57f2..8766cbaf20e2 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig | |||
@@ -76,7 +76,7 @@ comment "DEVFREQ Drivers" | |||
76 | 76 | ||
77 | config ARM_EXYNOS_BUS_DEVFREQ | 77 | config ARM_EXYNOS_BUS_DEVFREQ |
78 | tristate "ARM EXYNOS Generic Memory Bus DEVFREQ Driver" | 78 | tristate "ARM EXYNOS Generic Memory Bus DEVFREQ Driver" |
79 | depends on ARCH_EXYNOS | 79 | depends on ARCH_EXYNOS || COMPILE_TEST |
80 | select DEVFREQ_GOV_SIMPLE_ONDEMAND | 80 | select DEVFREQ_GOV_SIMPLE_ONDEMAND |
81 | select DEVFREQ_GOV_PASSIVE | 81 | select DEVFREQ_GOV_PASSIVE |
82 | select DEVFREQ_EVENT_EXYNOS_PPMU | 82 | select DEVFREQ_EVENT_EXYNOS_PPMU |
@@ -92,7 +92,7 @@ config ARM_EXYNOS_BUS_DEVFREQ | |||
92 | 92 | ||
93 | config ARM_TEGRA_DEVFREQ | 93 | config ARM_TEGRA_DEVFREQ |
94 | tristate "Tegra DEVFREQ Driver" | 94 | tristate "Tegra DEVFREQ Driver" |
95 | depends on ARCH_TEGRA_124_SOC | 95 | depends on ARCH_TEGRA_124_SOC || COMPILE_TEST |
96 | select DEVFREQ_GOV_SIMPLE_ONDEMAND | 96 | select DEVFREQ_GOV_SIMPLE_ONDEMAND |
97 | select PM_OPP | 97 | select PM_OPP |
98 | help | 98 | help |
diff --git a/drivers/devfreq/event/Kconfig b/drivers/devfreq/event/Kconfig index eb6f74a2b6b9..1d1cd781e386 100644 --- a/drivers/devfreq/event/Kconfig +++ b/drivers/devfreq/event/Kconfig | |||
@@ -15,7 +15,7 @@ if PM_DEVFREQ_EVENT | |||
15 | 15 | ||
16 | config DEVFREQ_EVENT_EXYNOS_NOCP | 16 | config DEVFREQ_EVENT_EXYNOS_NOCP |
17 | tristate "EXYNOS NoC (Network On Chip) Probe DEVFREQ event Driver" | 17 | tristate "EXYNOS NoC (Network On Chip) Probe DEVFREQ event Driver" |
18 | depends on ARCH_EXYNOS | 18 | depends on ARCH_EXYNOS || COMPILE_TEST |
19 | select PM_OPP | 19 | select PM_OPP |
20 | help | 20 | help |
21 | This add the devfreq-event driver for Exynos SoC. It provides NoC | 21 | This add the devfreq-event driver for Exynos SoC. It provides NoC |
@@ -23,7 +23,7 @@ config DEVFREQ_EVENT_EXYNOS_NOCP | |||
23 | 23 | ||
24 | config DEVFREQ_EVENT_EXYNOS_PPMU | 24 | config DEVFREQ_EVENT_EXYNOS_PPMU |
25 | tristate "EXYNOS PPMU (Platform Performance Monitoring Unit) DEVFREQ event Driver" | 25 | tristate "EXYNOS PPMU (Platform Performance Monitoring Unit) DEVFREQ event Driver" |
26 | depends on ARCH_EXYNOS | 26 | depends on ARCH_EXYNOS || COMPILE_TEST |
27 | select PM_OPP | 27 | select PM_OPP |
28 | help | 28 | help |
29 | This add the devfreq-event driver for Exynos SoC. It provides PPMU | 29 | This add the devfreq-event driver for Exynos SoC. It provides PPMU |