Skip to content
Commit 9d69cd82 authored by Jun Li's avatar Jun Li Committed by Greg Kroah-Hartman
Browse files

usb: chipidea: add inline for ci_hdrc_host_driver_init if host is not defined



Otherwise, there is a build warning if this header file is included
by non host source file, eg, otg.c.

Signed-off-by: default avatarJun Li <jun.li@nxp.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
Link: https://lore.kernel.org/r/20200122014639.22667-3-peter.chen@nxp.com
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 27bf5be8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment