Re: [PATCH] extcon: axp288: fix link error

2018-04-16 Thread Hans de Goede
Hi, On 16-04-18 10:40, Tobias Regnery wrote: With CONFIG_AXP288=y and CONFIG_USB_COMMON=n there is the following link error: drivers/extcon/extcon-axp288.o: In function `axp288_put_role_sw': extcon-axp288.c:(.text+0xa0): undefined reference to `usb_role_switch_put' drivers/extcon/extcon-axp288.

[PATCH] extcon: axp288: fix link error

2018-04-16 Thread Tobias Regnery
With CONFIG_AXP288=y and CONFIG_USB_COMMON=n there is the following link error: drivers/extcon/extcon-axp288.o: In function `axp288_put_role_sw': extcon-axp288.c:(.text+0xa0): undefined reference to `usb_role_switch_put' drivers/extcon/extcon-axp288.o: In function `axp288_usb_role_work': extcon-ax