Commit 72d43419 authored by Andy Gross's avatar Andy Gross

firmware: qcom_scm: Add missing is_available API

Add back function that was dropped when reworking the SCM code.
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 2cd83c75
......@@ -308,6 +308,14 @@ static const struct reset_control_ops qcom_scm_pas_reset_ops = {
.deassert = qcom_scm_pas_reset_deassert,
};
/**
* qcom_scm_is_available() - Checks if SCM is available
*/
bool qcom_scm_is_available(void)
{
return !!__scm;
}
EXPORT_SYMBOL(qcom_scm_is_available);
static int qcom_scm_probe(struct platform_device *pdev)
{
......
Markdown is supported
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