aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/remoteproc.h
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2016-10-02 17:46:38 -0700
committerBjorn Andersson <bjorn.andersson@linaro.org>2016-10-02 22:50:21 -0700
commit433c0e04bc06da6d049c691a9ef238d61edb841c (patch)
tree8eed5266b333c8f65775284f3c69b3a6895b37d5 /include/linux/remoteproc.h
parentremoteproc: Correct resource handling upon boot failure (diff)
downloadlinux-dev-433c0e04bc06da6d049c691a9ef238d61edb841c.tar.xz
linux-dev-433c0e04bc06da6d049c691a9ef238d61edb841c.zip
remoteproc: Split driver and consumer dereferencing
In order to be able to lock a rproc driver implementations only when used by a client, we must differ between the dereference operation of a client and the implementation itself. This patch brings no functional change. 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 c321eab5054e..930023b7c825 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -493,6 +493,7 @@ struct rproc *rproc_alloc(struct device *dev, const char *name,
void rproc_put(struct rproc *rproc);
int rproc_add(struct rproc *rproc);
int rproc_del(struct rproc *rproc);
+void rproc_free(struct rproc *rproc);
int rproc_boot(struct rproc *rproc);
void rproc_shutdown(struct rproc *rproc);