summaryrefslogtreecommitdiff
path: root/include/linux/mailbox
diff options
context:
space:
mode:
authorChun-Kuang Hu <chunkuang.hu@kernel.org>2021-03-15 02:33:23 +0300
committerJassi Brar <jaswinder.singh@linaro.org>2021-06-26 19:40:20 +0300
commit8ebc3b5aa4cfafd8b9d58e2595a12f0715594619 (patch)
treeb1f07829b2126209721a9b92ac9514236aa986f2 /include/linux/mailbox
parent1b6b0ce2240e717bd5839cc106a0bf6cdbac9abc (diff)
downloadlinux-8ebc3b5aa4cfafd8b9d58e2595a12f0715594619.tar.xz
mailbox: mtk-cmdq: Add struct cmdq_pkt in struct cmdq_cb_data
Current client use 'struct cmdq_pkt' as callback data, so change 'void *data' to 'struct cmdq_pkt *pkt'. Keep data until client use pkt instead of data. Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org> Reviewed-by: Yongqiang Niu <yongqiang.niu@mediatek.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'include/linux/mailbox')
-rw-r--r--include/linux/mailbox/mtk-cmdq-mailbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mailbox/mtk-cmdq-mailbox.h b/include/linux/mailbox/mtk-cmdq-mailbox.h
index 2f7d9a37d611..44365aab043c 100644
--- a/include/linux/mailbox/mtk-cmdq-mailbox.h
+++ b/include/linux/mailbox/mtk-cmdq-mailbox.h
@@ -68,6 +68,7 @@ enum cmdq_code {
struct cmdq_cb_data {
int sta;
void *data;
+ struct cmdq_pkt *pkt;
};
typedef void (*cmdq_async_flush_cb)(struct cmdq_cb_data data);