Re: [PATCH] usb: typec: fusb302: Fix an undefined reference to 'extcon_get_state'
From: Heikki Krogerus
Date: Thu Dec 12 2019 - 04:01:38 EST
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.
thanks,
--
heikki