diff options
author | Bjorn Andersson | 2016-10-03 02:46:38 +0200 |
---|---|---|
committer | Bjorn Andersson | 2016-10-03 07:50:21 +0200 |
commit | 433c0e04bc06da6d049c691a9ef238d61edb841c (patch) | |
tree | 8eed5266b333c8f65775284f3c69b3a6895b37d5 /include/linux/remoteproc.h | |
parent | remoteproc: Correct resource handling upon boot failure (diff) | |
download | kernel-qcow2-linux-433c0e04bc06da6d049c691a9ef238d61edb841c.tar.gz kernel-qcow2-linux-433c0e04bc06da6d049c691a9ef238d61edb841c.tar.xz kernel-qcow2-linux-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.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); |