[PATCH v8 15/18] firmware: ti_sci: Export devm_ti_sci_get_of_resource for modules

Peter Ujfalusi
2019-12-23T11:12:15Z

Allow devm_ti_sci_get_of_resource() to be usable from modules.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
drivers/firmware/ti_sci.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c
index f13e4a96f3b7..3d8241cb6921 100644
--- a/drivers/firmware/ti_sci.c
+++ b/drivers/firmware/ti_sci.c
@@ -3332,6 +3332,7 @@ devm_ti_sci_get_of_resource(const struct ti_sci_handle *handle,

return ERR_PTR(-EINVAL);
}
+EXPORT_SYMBOL_GPL(devm_ti_sci_get_of_resource);

static int tisci_reboot_handler(struct notifier_block *nb, unsigned long mode,
void *cmd)