]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/remoteproc/qcom_common.h
Merge branch 'linux-4.12' of git://github.com/skeggsb/linux into drm-fixes
[karo-tx-linux.git] / drivers / remoteproc / qcom_common.h
1 #ifndef __RPROC_QCOM_COMMON_H__
2 #define __RPROC_QCOM_COMMON_H__
3
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 };
14
15 struct resource_table *qcom_mdt_find_rsc_table(struct rproc *rproc,
16                                                const struct firmware *fw,
17                                                int *tablesz);
18
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
22 #endif