]>
Commit | Line | Data |
---|---|---|
bde440ee BA |
1 | #ifndef __RPROC_QCOM_COMMON_H__ |
2 | #define __RPROC_QCOM_COMMON_H__ | |
3 | ||
b90fcfcb BA |
4 | #include <linux/remoteproc.h> |
5 | #include "remoteproc_internal.h" | |
6 | ||
7 | struct qcom_rproc_subdev { | |
8 | struct rproc_subdev subdev; | |
9 | ||
10 | struct device *dev; | |
11 | struct device_node *node; | |
12 | struct qcom_smd_edge *edge; | |
13 | }; | |
bde440ee BA |
14 | |
15 | struct resource_table *qcom_mdt_find_rsc_table(struct rproc *rproc, | |
16 | const struct firmware *fw, | |
17 | int *tablesz); | |
18 | ||
b90fcfcb BA |
19 | void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd); |
20 | void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd); | |
21 | ||
bde440ee | 22 | #endif |