All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: typec: rt1711h: fix tcpci dependency
@ 2018-05-25 15:38 Arnd Bergmann
  2018-05-25 15:52 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2018-05-25 15:38 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Arnd Bergmann, Guenter Roeck, ShuFan Lee, devel, linux-kernel

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]

Fixes: ce08eaeb6388 ("staging: typec: rt1711h typec chip driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/staging/typec/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/typec/Kconfig b/drivers/staging/typec/Kconfig
index 3aa981fbc8f5..51474d798f99 100644
--- a/drivers/staging/typec/Kconfig
+++ b/drivers/staging/typec/Kconfig
@@ -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
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: typec: rt1711h: fix tcpci dependency
  2018-05-25 15:38 [PATCH] staging: typec: rt1711h: fix tcpci dependency Arnd Bergmann
@ 2018-05-25 15:52 ` Greg Kroah-Hartman
  2018-05-25 16:14   ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2018-05-25 15:52 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: Guenter Roeck, ShuFan Lee, devel, linux-kernel

On Fri, May 25, 2018 at 05:38:25PM +0200, Arnd Bergmann wrote:
> 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]
> 
> Fixes: ce08eaeb6388 ("staging: typec: rt1711h typec chip driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: typec: rt1711h: fix tcpci dependency
  2018-05-25 15:52 ` Greg Kroah-Hartman
@ 2018-05-25 16:14   ` Arnd Bergmann
  0 siblings, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2018-05-25 16:14 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Guenter Roeck, ShuFan Lee, driverdevel, Linux Kernel Mailing List

On Fri, May 25, 2018 at 5:52 PM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
> On Fri, May 25, 2018 at 05:38:25PM +0200, Arnd Bergmann wrote:
>> 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]
>>
>> Fixes: ce08eaeb6388 ("staging: typec: rt1711h typec chip driver")
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>> ---
>>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-25 16:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-25 15:38 [PATCH] staging: typec: rt1711h: fix tcpci dependency Arnd Bergmann
2018-05-25 15:52 ` Greg Kroah-Hartman
2018-05-25 16:14   ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.