Merge tag 'bcachefs-2024-03-13' of https://evilpiepirate.org/git/bcachefs
[linux-block.git] / drivers / remoteproc / qcom_common.h
index c35adf730be05f446b20d4f86c1f1a9678ce3ab6..9ef4449052a95ae62298f201c99d103e40a14795 100644 (file)
@@ -6,6 +6,7 @@
 #include "remoteproc_internal.h"
 #include <linux/soc/qcom/qmi.h>
 
+struct qcom_glink_smem;
 struct qcom_sysmon;
 
 struct qcom_rproc_glink {
@@ -15,7 +16,7 @@ struct qcom_rproc_glink {
 
        struct device *dev;
        struct device_node *node;
-       struct qcom_glink *edge;
+       struct qcom_glink_smem *edge;
 };
 
 struct qcom_rproc_subdev {
@@ -33,7 +34,10 @@ struct qcom_rproc_ssr {
        struct qcom_ssr_subsystem *info;
 };
 
-void qcom_minidump(struct rproc *rproc, unsigned int minidump_id);
+void qcom_minidump(struct rproc *rproc, unsigned int minidump_id,
+                       void (*rproc_dumpfn_t)(struct rproc *rproc,
+                               struct rproc_dump_segment *segment, void *dest, size_t offset,
+                               size_t size));
 
 void qcom_add_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink,
                           const char *ssr_name);