diff options
author | Bjorn Andersson <quic_bjorande@quicinc.com> | 2023-01-09 23:37:45 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-01-18 18:48:37 +0100 |
commit | f014eda5d5923a1d85f29dc7467cd90e9775cbfd (patch) | |
tree | c101c262ccfa914e060c4adf19a8fcdd452138dd /drivers/rpmsg | |
parent | rpmsg: ctrl: Add lock to rpmsg_ctrldev_remove (diff) | |
download | linux-f014eda5d5923a1d85f29dc7467cd90e9775cbfd.tar.xz linux-f014eda5d5923a1d85f29dc7467cd90e9775cbfd.zip |
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/rpmsg')
-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, |