summaryrefslogtreecommitdiff
path: root/drivers/rpmsg/qcom_glink_native.h
diff options
context:
space:
mode:
authorBjorn Andersson <quic_bjorande@quicinc.com>2023-02-15 01:47:46 +0300
committerBjorn Andersson <andersson@kernel.org>2023-02-15 07:28:48 +0300
commita8f500c68673d385b437da678aaf9ebba0ab9db0 (patch)
tree2d3f381645a6eb2b9d348a4b7ca19794c7c8dd6e /drivers/rpmsg/qcom_glink_native.h
parentfb23b97346f9aaa9f7b7a996e7baf066c88d69bd (diff)
downloadlinux-a8f500c68673d385b437da678aaf9ebba0ab9db0.tar.xz
rpmsg: glink: Fix spelling of peek
The code is peeking into the buffers, not peaking. Fix this throughout the glink drivers. 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/20230214224746.1996130-1-quic_bjorande@quicinc.com
Diffstat (limited to 'drivers/rpmsg/qcom_glink_native.h')
-rw-r--r--drivers/rpmsg/qcom_glink_native.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rpmsg/qcom_glink_native.h b/drivers/rpmsg/qcom_glink_native.h
index 9462b37eccee..8dbec24de23e 100644
--- a/drivers/rpmsg/qcom_glink_native.h
+++ b/drivers/rpmsg/qcom_glink_native.h
@@ -17,7 +17,7 @@ struct qcom_glink_pipe {
size_t (*avail)(struct qcom_glink_pipe *glink_pipe);
- void (*peak)(struct qcom_glink_pipe *glink_pipe, void *data,
+ void (*peek)(struct qcom_glink_pipe *glink_pipe, void *data,
unsigned int offset, size_t count);
void (*advance)(struct qcom_glink_pipe *glink_pipe, size_t count);