Re: [PATCH 06/17] thermal: u8500: allow compile test

2015-09-09 Thread Geert Uytterhoeven
On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin  wrote:
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -224,7 +224,7 @@ config DOVE_THERMAL
>
>  config DB8500_THERMAL
> bool "DB8500 thermal management"
> -   depends on ARCH_U8500
> +   depends on ARCH_U8500 || COMPILE_TEST

In file included from drivers/thermal/db8500_thermal.c:23:
include/linux/mfd/dbx500-prcmu.h:437: error: redefinition of ‘prcmu_abb_read’
include/linux/mfd/db8500-prcmu.h:648: error: previous definition of
‘prcmu_abb_read’ was here
include/linux/mfd/dbx500-prcmu.h:442: error: redefinition of ‘prcmu_abb_write’
include/linux/mfd/db8500-prcmu.h:653: error: previous definition of
‘prcmu_abb_write’ was here
include/linux/mfd/dbx500-prcmu.h:453: error: redefinition of
‘prcmu_config_clkout’
include/linux/mfd/db8500-prcmu.h:618: error: previous definition of
‘prcmu_config_clkout’ was here
include/linux/mfd/dbx500-prcmu.h:520: error: redefinition of ‘prcmu_ac_wake_req’
include/linux/mfd/db8500-prcmu.h:658: error: previous definition of
‘prcmu_ac_wake_req’ was here
include/linux/mfd/dbx500-prcmu.h:524: error: redefinition of
‘prcmu_ac_sleep_req’
include/linux/mfd/db8500-prcmu.h:662: error: previous definition of
‘prcmu_ac_sleep_req’ was here

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 06/17] thermal: u8500: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to u8500 driver to facilitate
maintenance.

Cc: Zhang Rui 
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin 
---
 drivers/thermal/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index b38ce41..f810bad 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -224,7 +224,7 @@ config DOVE_THERMAL
 
 config DB8500_THERMAL
bool "DB8500 thermal management"
-   depends on ARCH_U8500
+   depends on ARCH_U8500 || COMPILE_TEST
default y
help
  Adds DB8500 thermal management implementation according to the thermal
@@ -252,7 +252,7 @@ config TEGRA_SOCTHERM
 
 config DB8500_CPUFREQ_COOLING
tristate "DB8500 cpufreq cooling"
-   depends on ARCH_U8500
+   depends on ARCH_U8500 || COMPILE_TEST
depends on CPU_THERMAL
default y
help
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/