On Fri, May 31, 2019 at 10:59:56AM +0100, Biju Das wrote:
> Driver for TI HD3SS3220 USB Type-C DRP port controller.
>
> The driver currently registers the port and supports data role swapping.
>
> Signed-off-by: Biju Das <[email protected]>
> Acked-by: Heikki Krogerus <[email protected]>
> ---
I tried to apply this, but get the following build error:
drivers/usb/typec/hd3ss3220.c: In function hd3ss3220_probe:
drivers/usb/typec/hd3ss3220.c:179:23: error: implicit declaration of function
fwnode_usb_role_switch_get; did you mean usb_role_switch_get?
[-Werror=implicit-function-declaration]
hd3ss3220->role_sw = fwnode_usb_role_switch_get(connector);
^~~~~~~~~~~~~~~~~~~~~~~~~~
usb_role_switch_get
drivers/usb/typec/hd3ss3220.c:179:21: warning: assignment to struct
usb_role_switch * from int makes pointer from integer without a cast
[-Wint-conversion]
hd3ss3220->role_sw = fwnode_usb_role_switch_get(connector);
^
You might want to fix that so the series can be applied :(
thanks,
greg k-h