staging: typec: rt1711h: fix tcpci dependency
PATCH 1/1 staging: typec: rt1711h: fix tcpci dependency
Using 'select' instead of the normal 'depends on' causes a build issue with CONFIG_I2C=m:
WARNING: unmet direct dependencies detected for TYPEC_TCPCI
Depends on [m]: STAGING [=y] && TYPEC_TCPM [=y] && I2C [=m] Selected by [y]:
- TYPEC_RT1711H [=y] && STAGING [=y] && TYPEC_TCPM [=y]
--- drivers/staging/typec/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/typec/Kconfig +1 -1
@@ -11,7 +11,7 @@ config TYPEC_TCPCI config TYPEC_RT1711H tristate "Richtek RT1711H Type-C chip driver" - select TYPEC_TCPCI + depends on TYPEC_TCPCI help Richtek RT1711H Type-C chip driver that works with Type-C Port Controller Manager to provide USB PD and USB
Signature · 1 line
2.9.0
Greg Kroah-Hartman
maintainerQuoted 8 lines · Arnd Bergmann
Using 'select' instead of the normal 'depends on' causes a build issue with
CONFIG_I2C=m:WARNING: unmet direct dependencies detected for
TYPEC_TCPCI
Depends on [m]: STAGING [=y] &&TYPEC_TCPM[=y] && I2C [=m] Selected by [y]:
-TYPEC_RT1711H[=y] && STAGING [=y] &&TYPEC_TCPM[=y]
Quoted 5 lines
Fixes ce08eaeb6388 ("staging: typec: rt1711h typec chip driver")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/staging/typec/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I think that this is already fixed in linux-next with some patches that I queued up there yesterday. When did you last see this problem?
thanks,
greg k-h
Quoted 9 lines · Greg Kroah-Hartman
Quoted 8 lines · Arnd Bergmann
Using 'select' instead of the normal 'depends on' causes a build issue with
CONFIG_I2C=m:WARNING: unmet direct dependencies detected for
TYPEC_TCPCI
Depends on [m]: STAGING [=y] &&TYPEC_TCPM[=y] && I2C [=m] Selected by [y]:
-TYPEC_RT1711H[=y] && STAGING [=y] &&TYPEC_TCPM[=y]
Quoted 8 lines
Quoted 5 lines
Fixes ce08eaeb6388 ("staging: typec: rt1711h typec chip driver")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/staging/typec/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)I think that this is already fixed in linux-next with some patches that I queued up there yesterday. When did you last see this problem?
It's on linux-next, but since there hasn't been a release this week, I'm sure you are right that this was already fixed.
Arnd