Re: [PATCH] usb: typec: fusb302: Fix an undefined reference to 'extcon_get_state'

zhong jiang
2019-12-12T09:35:38Z

On 2019/12/12 17:28, Greg KH wrote:
> On Thu, Dec 12, 2019 at 05:15:28PM +0800, zhong jiang wrote:
>> On 2019/12/12 17:01, Heikki Krogerus wrote:
>>> On Thu, Dec 12, 2019 at 03:34:23PM +0800, zhong jiang wrote:
>>>> Fixes the following compile error:
>>>>
>>>> drivers/usb/typec/tcpm/fusb302.o: In function `tcpm_get_current_limit':
>>>> fusb302.c:(.text+0x3ee): undefined reference to `extcon_get_state'
>>>> fusb302.c:(.text+0x422): undefined reference to `extcon_get_state'
>>>> fusb302.c:(.text+0x450): undefined reference to `extcon_get_state'
>>>> fusb302.c:(.text+0x48c): undefined reference to `extcon_get_state'
>>>> drivers/usb/typec/tcpm/fusb302.o: In function `fusb302_probe':
>>>> fusb302.c:(.text+0x980): undefined reference to `extcon_get_extcon_dev'
>>>> make: *** [vmlinux] Error 1
>>> There are stubs for those functions so that really should not be
>>> happening. I can not reproduce that.
>> It can be reproduced in next branch. you can try it in the latest next branch.
> Can it be reproduced in 5.5-rc1?
Yes
> .
>