Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22e74e25 authored by jiad's avatar jiad Committed by Hemant Kumar
Browse files

mhi: core: export symbols for references



Export symbols for below three APIs.

mhi_unprepare_after_power_down
mhi_unregister_mhi_controller
mhi_pm_resume.
mhi_pm_fast_resume.

Change-Id: If5a447e77f04e40782b74fd75b31ea42ee706d6d
Signed-off-by: default avatarjiad <jiad@codeaurora.org>
parent e689af8a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1486,6 +1486,7 @@ void mhi_unregister_mhi_controller(struct mhi_controller *mhi_cntrl)
	list_del(&mhi_cntrl->node);
	mutex_unlock(&mhi_bus.lock);
}
EXPORT_SYMBOL(mhi_unregister_mhi_controller);

/* set ptr to control private data */
static inline void mhi_controller_set_devdata(struct mhi_controller *mhi_cntrl,
@@ -1586,6 +1587,7 @@ void mhi_unprepare_after_power_down(struct mhi_controller *mhi_cntrl)
	mhi_deinit_dev_ctxt(mhi_cntrl);
	mhi_cntrl->pre_init = false;
}
EXPORT_SYMBOL(mhi_unprepare_after_power_down);

/* match dev to drv */
static int mhi_match(struct device *dev, struct device_driver *drv)
+2 −0
Original line number Diff line number Diff line
@@ -1357,6 +1357,7 @@ int mhi_pm_resume(struct mhi_controller *mhi_cntrl)

	return 0;
}
EXPORT_SYMBOL(mhi_pm_resume);

int mhi_pm_fast_resume(struct mhi_controller *mhi_cntrl, bool notify_client)
{
@@ -1431,6 +1432,7 @@ int mhi_pm_fast_resume(struct mhi_controller *mhi_cntrl, bool notify_client)

	return 0;
}
EXPORT_SYMBOL(mhi_pm_fast_resume);

int __mhi_device_get_sync(struct mhi_controller *mhi_cntrl)
{