commit | 945c37ed564770c78dfe6b9f08bed57a1b4e60ef | [log] [tgz] |
---|---|---|
author | Linyu Yuan <quic_linyyuan@quicinc.com> | Mon Jan 10 20:43:28 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 25 18:30:15 2022 +0100 |
tree | 355684aabd9a310bc9821374ada0b64bf22ac0d6 | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 [diff] |
usb: roles: fix include/linux/usb/role.h compile issue when CONFIG_USB_ROLE_SWITCH is not defined, add usb_role_switch_find_by_fwnode() definition which return NULL. Fixes: c6919d5e0cd1 ("usb: roles: Add usb_role_switch_find_by_fwnode()") Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com> Link: https://lore.kernel.org/r/1641818608-25039-1-git-send-email-quic_linyyuan@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>