diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2019-06-26 04:10:40 +0300 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2019-06-26 11:27:39 +0300 |
commit | 0937fbb7abeb165ef0ac6a56a3a6f041eca6dbde (patch) | |
tree | d461a24eb306c11208ca65cbebc7dabdb45ceba1 /drivers/extcon | |
parent | bad5b5e707a58db9a65d59f7706314012a8e3219 (diff) | |
download | linux-0937fbb7abeb165ef0ac6a56a3a6f041eca6dbde.tar.xz |
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: Randy Dunlap <rdunlap@infradead.org>
[cw00.choi: adjust the patch title and remove the long warning messages]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/Kconfig b/drivers/extcon/Kconfig index 8aa83c6274a0..fa1804460e8c 100644 --- a/drivers/extcon/Kconfig +++ b/drivers/extcon/Kconfig @@ -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 |