diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-10-02 17:46:38 -0700 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-10-02 22:50:21 -0700 |
commit | 433c0e04bc06da6d049c691a9ef238d61edb841c (patch) | |
tree | 8eed5266b333c8f65775284f3c69b3a6895b37d5 /include/linux | |
parent | 229b85a6a54d7eef81ba307d60a589cc232f06d1 (diff) |
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')
-rw-r--r-- | include/linux/remoteproc.h | 1 |
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); |