From cc70fd72fb94a0590d5f148419f8db98436a37ef Mon Sep 17 00:00:00 2001 From: Bhaumik Bhatt Date: Wed, 12 Aug 2020 14:04:40 -0700 Subject: [PATCH] mhi: core: Add missing EXPORT_SYMBOL for some public APIs There was a missing EXPORT_SYMBOL() for some public APIs. Add those statements to ensure clean builds so KOs can use them. Change-Id: Iaac851ddad0b729208804320f02133d0fa039615 Signed-off-by: Bhaumik Bhatt --- drivers/bus/mhi/core/mhi_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bus/mhi/core/mhi_main.c b/drivers/bus/mhi/core/mhi_main.c index 3053aca7cd80..e82530f8f860 100644 --- a/drivers/bus/mhi/core/mhi_main.c +++ b/drivers/bus/mhi/core/mhi_main.c @@ -249,6 +249,7 @@ enum mhi_ee mhi_get_exec_env(struct mhi_controller *mhi_cntrl) return (ret) ? MHI_EE_MAX : mhi_translate_dev_ee(mhi_cntrl, exec); } +EXPORT_SYMBOL(mhi_get_exec_env); enum mhi_dev_state mhi_get_mhi_state(struct mhi_controller *mhi_cntrl) { @@ -258,6 +259,7 @@ enum mhi_dev_state mhi_get_mhi_state(struct mhi_controller *mhi_cntrl) MHISTATUS_MHISTATE_SHIFT, &state); return ret ? MHI_STATE_MAX : state; } +EXPORT_SYMBOL(mhi_get_mhi_state); int mhi_queue_sclist(struct mhi_device *mhi_dev, struct mhi_chan *mhi_chan,