summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSubramaniam Chanderashekarapuram <subramaniam.ca@ti.com>2012-06-04 21:46:40 -0500
committerAndy Green <andy.green@linaro.org>2012-09-07 13:05:44 +0800
commit8afa8668c820d2540a072c497d0918ed4e649df7 (patch)
treeb3246f13aeaf004f53e48e8ce9dfb4053e3e1f54 /include
parent72a42216472eff5bc73fa3e7cbecc30577b34d99 (diff)
remoteproc: export rproc_error_reporter function
The rproc_error_reporter function is currently being used to report MMU faults and trigger a recovery. This is internal to the remoteproc framework. However, the function can be used to report errors other than just iommu faults, like errors that a remoteproc detects and notifies the remoteproc driver. The rproc_error_reporter function therefore is now exported to allow other clients to report an error. Change-Id: Ib4efd8a70e2ae745afbaaea5bca11f33ba07ad0a Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
Diffstat (limited to 'include')
-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 75a046bdf43c..d6cc7b9537d6 100644
--- a/include/linux/remoteproc.h
+++ b/include/linux/remoteproc.h
@@ -521,6 +521,7 @@ int rproc_unregister(struct rproc *rproc);
int rproc_boot(struct rproc *rproc);
void rproc_shutdown(struct rproc *rproc);
+void rproc_error_reporter(struct rproc *rproc, enum rproc_err type);
int rproc_set_constraints(struct device *dev, struct rproc *rproc,
enum rproc_constraint type, long v);
int rproc_pa_to_da(struct rproc *rproc, phys_addr_t pa, u64 *da);