mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-07 18:14:04 +00:00
firmware: qcom_scm: Add missing is_available API
Add back function that was dropped when reworking the SCM code. Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
parent
2cd83c75d4
commit
72d4341940
@ -308,6 +308,14 @@ static const struct reset_control_ops qcom_scm_pas_reset_ops = {
|
|||||||
.deassert = qcom_scm_pas_reset_deassert,
|
.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)
|
static int qcom_scm_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user