diff options
author | Suman Anna | 2018-11-02 05:29:05 -0500 |
---|---|---|
committer | Suman Anna | 2019-02-23 19:20:48 -0600 |
commit | fe20d9efb9f85c0a16c93a753a9ff8049525afd9 (patch) | |
tree | f1522b30cd9fcce68aa276065ee962574d31f0c7 /include/linux | |
parent | 2794d1693b052995d7506bc975a6844fe753e3a4 (diff) | |
download | remoteproc-fe20d9efb9f85c0a16c93a753a9ff8049525afd9.tar.gz remoteproc-fe20d9efb9f85c0a16c93a753a9ff8049525afd9.tar.xz remoteproc-fe20d9efb9f85c0a16c93a753a9ff8049525afd9.zip |
remoteproc: move rproc_da_to_va declaration to remoteproc.h
The rproc_da_to_va() API is an exported function, so move its
declaration from the remoteproc local remoteproc_internal.h
to the public remoteproc.h file.
This will allow drivers outside of the remoteproc folder to be
able to use this API.
Signed-off-by: Suman Anna <s-anna@ti.com>
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 a62df28507e3..3dba367a379d 100644 --- a/include/linux/remoteproc.h +++ b/include/linux/remoteproc.h | |||
@@ -593,6 +593,7 @@ int rproc_boot(struct rproc *rproc); | |||
593 | void rproc_shutdown(struct rproc *rproc); | 593 | void rproc_shutdown(struct rproc *rproc); |
594 | int rproc_set_firmware(struct rproc *rproc, const char *fw_name); | 594 | int rproc_set_firmware(struct rproc *rproc, const char *fw_name); |
595 | void rproc_report_crash(struct rproc *rproc, enum rproc_crash_type type); | 595 | void rproc_report_crash(struct rproc *rproc, enum rproc_crash_type type); |
596 | void *rproc_da_to_va(struct rproc *rproc, u64 da, int len); | ||
596 | int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size); | 597 | int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size); |
597 | int rproc_get_id(struct rproc *rproc); | 598 | int rproc_get_id(struct rproc *rproc); |
598 | int rproc_pa_to_da(struct rproc *rproc, phys_addr_t pa, u64 *da); | 599 | int rproc_pa_to_da(struct rproc *rproc, phys_addr_t pa, u64 *da); |