diff options
author | Linyu Yuan <[email protected]> | 2022-01-10 20:43:28 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-01-25 18:30:15 +0100 |
commit | 945c37ed564770c78dfe6b9f08bed57a1b4e60ef (patch) | |
tree | 355684aabd9a310bc9821374ada0b64bf22ac0d6 /drivers/usb/cdns3/cdns3-trace.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions