commit | 9d69cd82fe02619ec68e5d770283576712188874 | [log] [tgz] |
---|---|---|
author | Jun Li <jun.li@nxp.com> | Wed Jan 22 01:47:02 2020 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 22 07:54:27 2020 +0100 |
tree | 5d6be4c459de41b9b3ac27aab305392c3c90ed06 | |
parent | 27bf5be8fbe0b60b1f1aa13083198dac64fc4249 [diff] |
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: Jun Li <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com> Link: https://lore.kernel.org/r/20200122014639.22667-3-peter.chen@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>