public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH] devfreq: Add COMPILE_TEST for build coverage
@ 2016-08-19  6:36 ` Krzysztof Kozlowski
  2016-08-19  6:46   ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2016-08-19  6:36 UTC (permalink / raw)
  To: MyungJoo Ham, Kyungmin Park, Chanwoo Choi, linux-pm, linux-kernel,
	linux-samsung-soc
  Cc: Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz

The SoC-specific devfreq and devfreq-event drivers can be build tested
on all architectures.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 drivers/devfreq/Kconfig       | 4 ++--
 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"
 
 config ARM_EXYNOS_BUS_DEVFREQ
 	tristate "ARM EXYNOS Generic Memory Bus DEVFREQ Driver"
-	depends on ARCH_EXYNOS
+	depends on ARCH_EXYNOS || COMPILE_TEST
 	select DEVFREQ_GOV_SIMPLE_ONDEMAND
 	select DEVFREQ_GOV_PASSIVE
 	select DEVFREQ_EVENT_EXYNOS_PPMU
@@ -92,7 +92,7 @@ config ARM_EXYNOS_BUS_DEVFREQ
 
 config ARM_TEGRA_DEVFREQ
        tristate "Tegra DEVFREQ Driver"
-       depends on ARCH_TEGRA_124_SOC
+       depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
        select DEVFREQ_GOV_SIMPLE_ONDEMAND
        select PM_OPP
        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
 
 config DEVFREQ_EVENT_EXYNOS_NOCP
 	tristate "EXYNOS NoC (Network On Chip) Probe DEVFREQ event Driver"
-	depends on ARCH_EXYNOS
+	depends on ARCH_EXYNOS || COMPILE_TEST
 	select PM_OPP
 	help
 	  This add the devfreq-event driver for Exynos SoC. It provides NoC
@@ -23,7 +23,7 @@ config DEVFREQ_EVENT_EXYNOS_NOCP
 
 config DEVFREQ_EVENT_EXYNOS_PPMU
 	tristate "EXYNOS PPMU (Platform Performance Monitoring Unit) DEVFREQ event Driver"
-	depends on ARCH_EXYNOS
+	depends on ARCH_EXYNOS || COMPILE_TEST
 	select PM_OPP
 	help
 	  This add the devfreq-event driver for Exynos SoC. It provides PPMU
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [RESEND PATCH] devfreq: Add COMPILE_TEST for build coverage
  2016-08-19  6:36 ` [RESEND PATCH] devfreq: Add COMPILE_TEST for build coverage Krzysztof Kozlowski
@ 2016-08-19  6:46   ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2016-08-19  6:46 UTC (permalink / raw)
  To: Krzysztof Kozlowski, MyungJoo Ham, Kyungmin Park, linux-pm,
	linux-kernel, linux-samsung-soc
  Cc: Bartlomiej Zolnierkiewicz

Hi Krzysztof,

Looks good to me.
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>

Dear Myungjoo,
you made the 'testing/kozlowski' branch[1] for this patch.
I think that this branch should be rebased on v4.8-rc1
because Krzysztof's patch[2] was already merged to v4.8-rc1.
[1] https://git.kernel.org/cgit/linux/kernel/git/mzx/devfreq.git/commit/?h=testing/kozlowski
[2] https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=e81b87d22a8fed6bac24197972c9c394a2b92b5d

Regards,
Chanwoo Choi

'On 2016년 08월 19일 15:36, Krzysztof Kozlowski wrote:
> The SoC-specific devfreq and devfreq-event drivers can be build tested
> on all architectures.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  drivers/devfreq/Kconfig       | 4 ++--
>  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"
>  
>  config ARM_EXYNOS_BUS_DEVFREQ
>  	tristate "ARM EXYNOS Generic Memory Bus DEVFREQ Driver"
> -	depends on ARCH_EXYNOS
> +	depends on ARCH_EXYNOS || COMPILE_TEST
>  	select DEVFREQ_GOV_SIMPLE_ONDEMAND
>  	select DEVFREQ_GOV_PASSIVE
>  	select DEVFREQ_EVENT_EXYNOS_PPMU
> @@ -92,7 +92,7 @@ config ARM_EXYNOS_BUS_DEVFREQ
>  
>  config ARM_TEGRA_DEVFREQ
>         tristate "Tegra DEVFREQ Driver"
> -       depends on ARCH_TEGRA_124_SOC
> +       depends on ARCH_TEGRA_124_SOC || COMPILE_TEST
>         select DEVFREQ_GOV_SIMPLE_ONDEMAND
>         select PM_OPP
>         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
>  
>  config DEVFREQ_EVENT_EXYNOS_NOCP
>  	tristate "EXYNOS NoC (Network On Chip) Probe DEVFREQ event Driver"
> -	depends on ARCH_EXYNOS
> +	depends on ARCH_EXYNOS || COMPILE_TEST
>  	select PM_OPP
>  	help
>  	  This add the devfreq-event driver for Exynos SoC. It provides NoC
> @@ -23,7 +23,7 @@ config DEVFREQ_EVENT_EXYNOS_NOCP
>  
>  config DEVFREQ_EVENT_EXYNOS_PPMU
>  	tristate "EXYNOS PPMU (Platform Performance Monitoring Unit) DEVFREQ event Driver"
> -	depends on ARCH_EXYNOS
> +	depends on ARCH_EXYNOS || COMPILE_TEST
>  	select PM_OPP
>  	help
>  	  This add the devfreq-event driver for Exynos SoC. It provides PPMU
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-19  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20160819063707epcas1p23ba811c669f34548a0556354a8363ff1@epcas1p2.samsung.com>
2016-08-19  6:36 ` [RESEND PATCH] devfreq: Add COMPILE_TEST for build coverage Krzysztof Kozlowski
2016-08-19  6:46   ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox