aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuman Anna2018-11-02 05:29:05 -0500
committerSuman Anna2019-02-23 19:20:48 -0600
commitfe20d9efb9f85c0a16c93a753a9ff8049525afd9 (patch)
treef1522b30cd9fcce68aa276065ee962574d31f0c7 /include/linux
parent2794d1693b052995d7506bc975a6844fe753e3a4 (diff)
downloadremoteproc-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.h1
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);
593void rproc_shutdown(struct rproc *rproc); 593void rproc_shutdown(struct rproc *rproc);
594int rproc_set_firmware(struct rproc *rproc, const char *fw_name); 594int rproc_set_firmware(struct rproc *rproc, const char *fw_name);
595void rproc_report_crash(struct rproc *rproc, enum rproc_crash_type type); 595void rproc_report_crash(struct rproc *rproc, enum rproc_crash_type type);
596void *rproc_da_to_va(struct rproc *rproc, u64 da, int len);
596int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size); 597int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size);
597int rproc_get_id(struct rproc *rproc); 598int rproc_get_id(struct rproc *rproc);
598int rproc_pa_to_da(struct rproc *rproc, phys_addr_t pa, u64 *da); 599int rproc_pa_to_da(struct rproc *rproc, phys_addr_t pa, u64 *da);