[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250520152618.1975840-1-arnd@kernel.org>
Date: Tue, 20 May 2025 17:26:15 +0200
From: Arnd Bergmann <arnd@...nel.org>
To: MyungJoo Ham <myungjoo.ham@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Svyatoslav Ryhel <clamor95@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Hans de Goede <hdegoede@...hat.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] extcon: max14526: add CONFIG_I2C dependency
From: Arnd Bergmann <arnd@...db.de>
When I2C is in a loadable module, the newly added driver causes
a build failure. The problem is shown by Kconfig:
WARNING: unmet direct dependencies detected for REGMAP_I2C
Depends on [m]: I2C [=m]
Selected by [y]:
- EXTCON_MAX14526 [=y] && EXTCON [=y]
Add the required dependency here.
Fixes: c2aeb8647e53 ("extcon: Add basic support for Maxim MAX14526 MUIC")
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
drivers/extcon/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig
index 1096afc0b5bb..aec46bf03302 100644
--- a/drivers/extcon/Kconfig
+++ b/drivers/extcon/Kconfig
@@ -136,6 +136,7 @@ config EXTCON_MAX8997
config EXTCON_MAX14526
tristate "Maxim MAX14526 EXTCON Support"
+ depends on I2C
select IRQ_DOMAIN
select REGMAP_I2C
help
--
2.39.5
Powered by blists - more mailing lists