Re: [PATCH v6 07/11] drivers: thermal: int3406_thermal: Make PCI dependency explicit

From: Zhang Rui
Date: Tue Jan 08 2019 - 06:58:13 EST


On ä, 2019-01-07 at 12:19 +0100, Rafael J. Wysocki wrote:
> On Sat, Jan 5, 2019 at 11:06 AM Sinan Kaya <okaya@xxxxxxxxxx> wrote:
> >
> >
> > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built
> > without
> > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were
> > satisfied implicitly through dependencies on CONFIG_ACPI have to be
> > specified directly. Need CONFIG_PCI to be set in order to be able
> > to use
> > this driver.
> >
> > Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without
> > CONFIG_PCI set")
> > Signed-off-by: Sinan Kaya <okaya@xxxxxxxxxx>
> > ---
> > Âdrivers/thermal/intel/int340x_thermal/Kconfig | 2 +-
> > Â1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/thermal/intel/int340x_thermal/Kconfig
> > b/drivers/thermal/intel/int340x_thermal/Kconfig
> > index 0582bd12a239..fba1976d5f8d 100644
> > --- a/drivers/thermal/intel/int340x_thermal/Kconfig
> > +++ b/drivers/thermal/intel/int340x_thermal/Kconfig
> > @@ -31,7 +31,7 @@ if INT340X_THERMAL
> >
> > Âconfig INT3406_THERMAL
> > ÂÂÂÂÂÂÂÂtristate "ACPI INT3406 display thermal driver"
> > -ÂÂÂÂÂÂÂdepends on ACPI_VIDEO
> > +ÂÂÂÂÂÂÂdepends on ACPI_VIDEO && PCI
> > ÂÂÂÂÂÂÂÂhelp
> > ÂÂÂÂÂÂÂÂÂÂThe display thermal device represents the LED/LCD display
> > panel
> > ÂÂÂÂÂÂÂÂÂÂthat may or may not include touch support. The main
> > function of
> > --
> Rui, any objections here?ÂÂAnd for the [11/11]?

CONFIG_INT3406_THERMAL depends on CONFIG_INT340X_THERMAL, so IMO, patch
11 is sufficient.

thanks,
rui