From: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Srinivas Kandagatla <srini@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-sound@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Subject: [PATCH 2/4] soc: qcom: apr: Use typedef for GPR callback member
Date: Sun, 30 Nov 2025 10:40:24 +0100 [thread overview]
Message-ID: <20251130-asoc-apr-const-v1-2-d0833f3ed423@oss.qualcomm.com> (raw)
In-Reply-To: <20251130-asoc-apr-const-v1-0-d0833f3ed423@oss.qualcomm.com>
There is already a typedef for GPR callback used in 'struct
pkt_router_svc', so use it also in 'struct apr_driver', because it is
the same type - one is assigned to another in apr_device_probe().
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
include/linux/soc/qcom/apr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/soc/qcom/apr.h b/include/linux/soc/qcom/apr.h
index 35f44cd868cb..b16530f319ad 100644
--- a/include/linux/soc/qcom/apr.h
+++ b/include/linux/soc/qcom/apr.h
@@ -156,7 +156,7 @@ struct apr_driver {
void (*remove)(struct apr_device *sl);
int (*callback)(struct apr_device *a,
const struct apr_resp_pkt *d);
- int (*gpr_callback)(struct gpr_resp_pkt *d, void *data, int op);
+ gpr_port_cb gpr_callback;
struct device_driver driver;
const struct apr_device_id *id_table;
};
--
2.48.1
next prev parent reply other threads:[~2025-11-30 9:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-30 9:40 [PATCH 0/4] ASoC / soc/qcom: Constify APR/GPR callback response data Krzysztof Kozlowski
2025-11-30 9:40 ` [PATCH 1/4] ASoC: qcom: Constify APR " Krzysztof Kozlowski
2025-11-30 9:40 ` Krzysztof Kozlowski [this message]
2025-12-19 20:43 ` [PATCH 2/4] soc: qcom: apr: Use typedef for GPR callback member Bjorn Andersson
2025-11-30 9:40 ` [PATCH 3/4] ASoC: qcom: Constify GPR callback response data Krzysztof Kozlowski
2025-11-30 9:40 ` [PATCH 4/4] ASoC: qcom: Constify APR/GPR result structs Krzysztof Kozlowski
2025-12-01 15:31 ` [PATCH 0/4] ASoC / soc/qcom: Constify APR/GPR callback response data Srinivas Kandagatla
2025-12-02 17:08 ` Mark Brown
2025-12-22 20:58 ` Mark Brown
2025-12-23 17:06 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251130-asoc-apr-const-v1-2-d0833f3ed423@oss.qualcomm.com \
--to=krzysztof.kozlowski@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=konradybcio@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=srini@kernel.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®