diff mbox

[10/17] thermal: intel_soc_dts_iosf: allow compile test

Message ID 1441858273-4017-11-git-send-email-edubezval@gmail.com (mailing list archive)
State Rejected
Delegated to: Eduardo Valentin
Headers show

Commit Message

Eduardo Valentin Sept. 10, 2015, 4:11 a.m. UTC
Adding COMPILE_TEST flag to intel_soc_dts_iosf driver to facilitate
maintenance.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Geert Uytterhoeven Sept. 10, 2015, 6:25 a.m. UTC | #1
On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin <edubezval@gmail.com> wrote:
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -284,7 +284,7 @@ config X86_PKG_TEMP_THERMAL
>
>  config INTEL_SOC_DTS_IOSF_CORE
>         tristate
> -       depends on X86
> +       depends on X86 || COMPILE_TEST

drivers/thermal/intel_soc_dts_iosf.c:21:26: error: asm/iosf_mbi.h: No
such file or directory

x86-only header file

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
--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 449508f..eb2978d 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -284,7 +284,7 @@  config X86_PKG_TEMP_THERMAL
 
 config INTEL_SOC_DTS_IOSF_CORE
 	tristate
-	depends on X86
+	depends on X86 || COMPILE_TEST
 	select IOSF_MBI
 	help
 	  This is becoming a common feature for Intel SoCs to expose the additional