Patchwork [v4,07/11] drivers: thermal: int3406_thermal: Make PCI dependency explicit

login
register
mail settings
Submitter Sinan Kaya
Date Dec. 30, 2018, 7:56 p.m.
Message ID <20181230195612.6657-8-okaya@kernel.org>
Download mbox | patch
Permalink /patch/691009/
State New
Headers show

Comments

Sinan Kaya - Dec. 30, 2018, 7:56 p.m.
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@kernel.org>
---
 drivers/thermal/intel/int340x_thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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