提交 0937fbb7 编写于 作者: R Randy Dunlap 提交者: Chanwoo Choi

extcon: fsa9480: Fix Kconfig warning and build errors

Fix Kconfig dependency warning and subsequent build errors caused by
the Kconfig entry for EXTCON-FSA9480.  It should not select
REGMAP_I2C unless I2C is already set/enabled.

WARNING: unmet direct dependencies detected for REGMAP_I2C
  Depends on [n]: I2C [=n]
  Selected by [y]:
  - EXTCON_FSA9480 [=y] && EXTCON [=y] && INPUT [=y]
Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
[cw00.choi: adjust the patch title and remove the long warning messages]
Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
上级 bad5b5e7
......@@ -39,7 +39,7 @@ config EXTCON_AXP288
config EXTCON_FSA9480
tristate "FSA9480 EXTCON Support"
depends on INPUT
depends on INPUT && I2C
select IRQ_DOMAIN
select REGMAP_I2C
help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册