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

Geert Uytterhoeven
2015-09-10T06:35:44Z

On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin <edubezval@gmail.com> 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 -- geert@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