From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Eduardo Valentin <edubezval@gmail.com>,
Rui Zhang <rui.zhang@intel.com>,
Linux PM <linux-pm@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Jacob Pan <jacob.jun.pan@linux.intel.com>,
"lan,Tianyu" <tianyu.lan@intel.com>,
Ilkka Koskinen <ilkka.koskinen@linux.intel.com>
Subject: Re: [PATCH 13/17] thermal: int340x: allow compile test
Date: Thu, 17 Sep 2015 15:48:00 -0700 [thread overview]
Message-ID: <1442530080.2489.5.camel@spandruv-desk3.jf.intel.com> (raw)
In-Reply-To: <CAMuHMdXd5=qZd17czeYPQMBDaUYyC7JCB+1S49dVPfgm=Xp_iQ@mail.gmail.com>
On Thu, 2015-09-10 at 08:31 +0200, Geert Uytterhoeven wrote:
> On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin <edubezval@gmail.com> wrote:
> > --- a/drivers/thermal/Kconfig
> > +++ b/drivers/thermal/Kconfig
> > @@ -317,7 +317,7 @@ config INTEL_QUARK_DTS_THERMAL
> >
> > config INT340X_THERMAL
> > tristate "ACPI INT340X thermal drivers"
> > - depends on X86 && ACPI
> > + depends on (X86 && ACPI) || COMPILE_TEST
> > select THERMAL_GOV_USER_SPACE
> > select ACPI_THERMAL_REL
> > select ACPI_FAN
>
> This driver selects INTEL_SOC_DTS_IOSF_CORE, which uses an x86-specific
> header file.
>
> drivers/thermal/int340x_thermal/int3400_thermal.c: In function
> ‘int3400_thermal_get_uuids’:
> drivers/thermal/int340x_thermal/int3400_thermal.c:120: error:
> dereferencing pointer to incomplete type
>
> Missing #include <linux/fs.h>
>
> drivers/thermal/int340x_thermal/acpi_thermal_rel.c: In function
> ‘acpi_parse_trt’:
> drivers/thermal/int340x_thermal/acpi_thermal_rel.c:85: error: implicit
> declaration of function ‘acpi_has_method’
>
> Missing #include <acpi/acpi_bus.h>
>
> drivers/thermal/int340x_thermal/acpi_thermal_rel.c: In function
> ‘acpi_parse_trt’:
> drivers/thermal/int340x_thermal/acpi_thermal_rel.c:125: error:
> implicit declaration of function ‘acpi_bus_get_device’
>
> Definition depends on CONFIG_ACPI
>
Yes. This has dependency on ACPI. We need to also include ACPI modules
to build. For IOSF we need to have stub functions for core calls.
Thanks,
Srinivas
> 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
next prev parent reply other threads:[~2015-09-17 22:48 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-10 4:10 [PATCH 00/17] thermal: add COMPILE_TEST (on drivers) Eduardo Valentin
2015-09-10 4:10 ` [PATCH 01/17] thermal: hisi: allow compile test Eduardo Valentin
2015-09-10 4:10 ` [PATCH 02/17] thermal: spear: " Eduardo Valentin
2015-09-10 4:23 ` Viresh Kumar
2015-09-10 4:10 ` [PATCH 03/17] thermal: rockchip: " Eduardo Valentin
2015-09-10 4:11 ` [PATCH 04/17] thermal: kirkwood: " Eduardo Valentin
2015-09-10 4:11 ` [PATCH 05/17] thermal: dove: " Eduardo Valentin
2015-09-10 4:11 ` [PATCH 06/17] thermal: u8500: " Eduardo Valentin
2015-09-10 6:35 ` Geert Uytterhoeven
2015-09-10 4:11 ` [PATCH 07/17] thermal: armada: " Eduardo Valentin
2015-09-10 4:11 ` [PATCH 08/17] thermal: tegra: " Eduardo Valentin
2015-09-10 6:38 ` Geert Uytterhoeven
2015-09-10 4:11 ` [PATCH 09/17] thermal: powerclamp: " Eduardo Valentin
2015-09-10 4:11 ` [PATCH 10/17] thermal: intel_soc_dts_iosf: " Eduardo Valentin
2015-09-10 6:25 ` Geert Uytterhoeven
2015-09-10 4:11 ` [PATCH 11/17] thermal: intel_soc_dts: " Eduardo Valentin
2015-09-10 6:25 ` Geert Uytterhoeven
2015-09-10 4:11 ` [PATCH 12/17] thermal: intel_quark: " Eduardo Valentin
2015-09-10 6:25 ` Geert Uytterhoeven
2015-09-10 4:11 ` [PATCH 13/17] thermal: int340x: " Eduardo Valentin
2015-09-10 6:31 ` Geert Uytterhoeven
2015-09-17 22:48 ` Srinivas Pandruvada [this message]
2015-09-10 4:11 ` [PATCH 14/17] thermal: exynos: " Eduardo Valentin
2015-09-10 4:11 ` [PATCH 15/17] thermal: st: " Eduardo Valentin
2015-09-11 9:23 ` Lee Jones
2015-09-14 2:11 ` Eduardo Valentin
2015-09-10 4:11 ` [PATCH 16/17] thermal: qcom_spmi: " Eduardo Valentin
2015-09-10 4:11 ` [PATCH 17/17] thermal: ti-soc: " Eduardo Valentin
2015-09-10 6:23 ` [PATCH 00/17] thermal: add COMPILE_TEST (on drivers) Geert Uytterhoeven
2015-09-10 14:56 ` Eduardo Valentin
2015-09-10 15:34 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442530080.2489.5.camel@spandruv-desk3.jf.intel.com \
--to=srinivas.pandruvada@linux.intel.com \
--cc=edubezval@gmail.com \
--cc=geert@linux-m68k.org \
--cc=ilkka.koskinen@linux.intel.com \
--cc=jacob.jun.pan@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=tianyu.lan@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®