summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/qcom_common.h
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-01-27 13:28:32 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2017-02-06 19:57:24 +0300
commitbde440eee27021617fcd33000209925cdc67db12 (patch)
treeb592f05da14b897d456d933487161aa953f9b258 /drivers/remoteproc/qcom_common.h
parente7fd25226295270cc248254e7406d1e19181aea9 (diff)
downloadlinux-bde440eee27021617fcd33000209925cdc67db12.tar.xz
remoteproc: qcom: Extract non-mdt related helper
In preparation for moving the mdt loader out of remoteproc let's move the somewhat unrelated resource table dummy helper to a Qualcomm "common" file. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/qcom_common.h')
-rw-r--r--drivers/remoteproc/qcom_common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/remoteproc/qcom_common.h b/drivers/remoteproc/qcom_common.h
new file mode 100644
index 000000000000..caecf27c4ffa
--- /dev/null
+++ b/drivers/remoteproc/qcom_common.h
@@ -0,0 +1,11 @@
+#ifndef __RPROC_QCOM_COMMON_H__
+#define __RPROC_QCOM_COMMON_H__
+
+struct resource_table;
+struct rproc;
+
+struct resource_table *qcom_mdt_find_rsc_table(struct rproc *rproc,
+ const struct firmware *fw,
+ int *tablesz);
+
+#endif