summaryrefslogtreecommitdiff
path: root/include/linux/remoteproc.h
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2020-07-14 14:04:41 -0600
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-07-17 17:34:43 -0700
commitd9473cbfb0c5cbb279dfdeaec780934729537d27 (patch)
tree34780714f77dcd087f061e23789781aaa0d49229 /include/linux/remoteproc.h
parent376ffdc044568fcd9982a89d57eed67874566f85 (diff)
downloadlwn-d9473cbfb0c5cbb279dfdeaec780934729537d27.tar.gz
lwn-d9473cbfb0c5cbb279dfdeaec780934729537d27.zip
remoteproc: Make function rproc_resource_cleanup() public
Make function rproc_resource_cleanup() public so that it can be used by platform drivers when allocating resources to be used by a detached remote processor. Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20200714200445.1427257-8-mathieu.poirier@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/linux/remoteproc.h')
-rw-r--r--include/linux/remoteproc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/remoteproc.h b/include/linux/remoteproc.h
index cf5e31556780..7c0567029f7c 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -610,6 +610,7 @@ void rproc_put(struct rproc *rproc);
int rproc_add(struct rproc *rproc);
int rproc_del(struct rproc *rproc);
void rproc_free(struct rproc *rproc);
+void rproc_resource_cleanup(struct rproc *rproc);
struct rproc *devm_rproc_alloc(struct device *dev, const char *name,
const struct rproc_ops *ops,