diag: Only include MHI headers if it is enabled

Only include the MHI header file if CONFIG_MSM_MHI
is enabled, avoid compilation errors if the platform
does not support MHI.

Change-Id: Ic2d84a8bbd066d0d8e50711a7499ae9a959a0b71
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
This commit is contained in:
Gustavo Solaira 2018-08-24 15:02:24 -07:00 committed by Gerrit - the friendly Code Review server
parent 3e17d59abf
commit 7689015a2d

View file

@ -23,7 +23,9 @@
#ifdef CONFIG_USB_QCOM_DIAG_BRIDGE
#include "diagfwd_hsic.h"
#endif
#ifdef CONFIG_MSM_MHI
#include "diagfwd_mhi.h"
#endif
#include "diag_dci.h"
#ifndef CONFIG_USB_QCOM_DIAG_BRIDGE