From: Heikki Krogerus Date: Wed, 16 Sep 2020 09:11:00 +0000 (+0300) Subject: usb: typec: intel_pmc_mux: Add dependency on ACPI X-Git-Tag: v5.10.7~1419^2~82 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fca3d66982f08c436bff8f037142ad664ef376a8;p=platform%2Fkernel%2Flinux-rpi.git usb: typec: intel_pmc_mux: Add dependency on ACPI Since the driver now needs to find the IOM ACPI node, the driver depends on ACPI. Without the dependency set, the driver will only fail to compile when ACPI is not enabled. Fixes: 43d596e32276 ("usb: typec: intel_pmc_mux: Check the port status before connect") Reported-by: Randy Dunlap Signed-off-by: Heikki Krogerus Link: https://lore.kernel.org/r/20200916091102.27118-2-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/typec/mux/Kconfig b/drivers/usb/typec/mux/Kconfig index a4dbd11f8ee2..edead555835e 100644 --- a/drivers/usb/typec/mux/Kconfig +++ b/drivers/usb/typec/mux/Kconfig @@ -11,6 +11,7 @@ config TYPEC_MUX_PI3USB30532 config TYPEC_MUX_INTEL_PMC tristate "Intel PMC mux control" + depends on ACPI depends on INTEL_SCU_IPC select USB_ROLE_SWITCH help