diff options
author | Bjorn Andersson <quic_bjorande@quicinc.com> | 2023-01-09 14:37:45 -0800 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-01-18 11:48:37 -0600 |
commit | f014eda5d5923a1d85f29dc7467cd90e9775cbfd (patch) | |
tree | c101c262ccfa914e060c4adf19a8fcdd452138dd /drivers | |
parent | c23965b7f7d99bbb2604f1f02aa26fb6d1d5864d (diff) |
rpmsg: glink: Include types in qcom_glink_native.h
Ensure that the used data types are available in qcom_glink_native.h, to
silence LSP warnings.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Chris Lew <quic_clew@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109223745.1706152-1-quic_bjorande@quicinc.com
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rpmsg/qcom_glink_native.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rpmsg/qcom_glink_native.h b/drivers/rpmsg/qcom_glink_native.h index 624184fc458e..e9a8671616c7 100644 --- a/drivers/rpmsg/qcom_glink_native.h +++ b/drivers/rpmsg/qcom_glink_native.h @@ -6,6 +6,8 @@ #ifndef __QCOM_GLINK_NATIVE_H__ #define __QCOM_GLINK_NATIVE_H__ +#include <linux/types.h> + #define GLINK_FEATURE_INTENT_REUSE BIT(0) #define GLINK_FEATURE_MIGRATION BIT(1) #define GLINK_FEATURE_TRACER_PKT BIT(2) @@ -24,6 +26,7 @@ struct qcom_glink_pipe { const void *data, size_t dlen); }; +struct device; struct qcom_glink; struct qcom_glink *qcom_glink_native_probe(struct device *dev, |