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

From: Geert Uytterhoeven
Date: Thu Sep 10 2015 - 02:35:47 EST


On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin <edubezval@xxxxxxxxx> 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@xxxxxxxxxxxxxx

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/