Skip to content

Commit 797da55

Browse files
krzkmyungjoo
authored andcommitted
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>
1 parent 0b38ed3 commit 797da55

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/devfreq/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ comment "DEVFREQ Drivers"
7676

7777
config ARM_EXYNOS_BUS_DEVFREQ
7878
tristate "ARM EXYNOS Generic Memory Bus DEVFREQ Driver"
79-
depends on ARCH_EXYNOS
79+
depends on ARCH_EXYNOS || COMPILE_TEST
8080
select DEVFREQ_GOV_SIMPLE_ONDEMAND
8181
select DEVFREQ_GOV_PASSIVE
8282
select DEVFREQ_EVENT_EXYNOS_PPMU
@@ -92,7 +92,7 @@ config ARM_EXYNOS_BUS_DEVFREQ
9292

9393
config ARM_TEGRA_DEVFREQ
9494
tristate "Tegra DEVFREQ Driver"
95-
depends on ARCH_TEGRA_124_SOC
95+
depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
9696
select DEVFREQ_GOV_SIMPLE_ONDEMAND
9797
select PM_OPP
9898
help

‎drivers/devfreq/event/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ if PM_DEVFREQ_EVENT
1515

1616
config DEVFREQ_EVENT_EXYNOS_NOCP
1717
tristate "EXYNOS NoC (Network On Chip) Probe DEVFREQ event Driver"
18-
depends on ARCH_EXYNOS
18+
depends on ARCH_EXYNOS || COMPILE_TEST
1919
select PM_OPP
2020
help
2121
This add the devfreq-event driver for Exynos SoC. It provides NoC
2222
(Network on Chip) Probe counters to measure the bandwidth of AXI bus.
2323

2424
config DEVFREQ_EVENT_EXYNOS_PPMU
2525
tristate "EXYNOS PPMU (Platform Performance Monitoring Unit) DEVFREQ event Driver"
26-
depends on ARCH_EXYNOS
26+
depends on ARCH_EXYNOS || COMPILE_TEST
2727
select PM_OPP
2828
help
2929
This add the devfreq-event driver for Exynos SoC. It provides PPMU

0 commit comments

Comments
 (0)