[PATCH v2 2/3] firmware: ti_sci: Export devm_ti_sci_get_of_resource for modules

From: Peter Ujfalusi
Date: Tue Feb 04 2020 - 10:27:44 EST


Allow devm_ti_sci_get_of_resource() to be usable from modules.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx>
Reviewed-by: Tero Kristo <t-kristo@xxxxxx>
---
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)
--
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki