The connections create clear dependency on the muxes.
fusb302 fails to probe unless we have the mux drivers
available.

Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
Acked-by: Andy Shevchenko <andy.shevche...@gmail.com>
---
 drivers/platform/x86/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 0c1aa6c314f5..bdac939de223 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -867,6 +867,8 @@ config INTEL_CHT_INT33FE
        tristate "Intel Cherry Trail ACPI INT33FE Driver"
        depends on X86 && ACPI && I2C && REGULATOR
        depends on CHARGER_BQ24190=y || (CHARGER_BQ24190=m && m)
+       depends on USB_ROLES_INTEL_XHCI=y || (USB_ROLES_INTEL_XHCI=m && m)
+       depends on TYPEC_MUX_PI3USB30532=y || (TYPEC_MUX_PI3USB30532=m && m)
        ---help---
          This driver add support for the INT33FE ACPI device found on
          some Intel Cherry Trail devices.
-- 
2.18.0

Reply via email to