提交 fca3d669 编写于 作者: H Heikki Krogerus 提交者: Greg Kroah-Hartman

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: 43d596e3 ("usb: typec: intel_pmc_mux: Check the port status before connect")
Reported-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NHeikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200916091102.27118-2-heikki.krogerus@linux.intel.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 be171e48
...@@ -11,6 +11,7 @@ config TYPEC_MUX_PI3USB30532 ...@@ -11,6 +11,7 @@ config TYPEC_MUX_PI3USB30532
config TYPEC_MUX_INTEL_PMC config TYPEC_MUX_INTEL_PMC
tristate "Intel PMC mux control" tristate "Intel PMC mux control"
depends on ACPI
depends on INTEL_SCU_IPC depends on INTEL_SCU_IPC
select USB_ROLE_SWITCH select USB_ROLE_SWITCH
help help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册