mailbox: mtk-cmdq: Add struct cmdq_pkt in struct cmdq_cb_data
authorChun-Kuang Hu <chunkuang.hu@kernel.org>
Sun, 14 Mar 2021 23:33:23 +0000 (07:33 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Sat, 26 Jun 2021 16:40:20 +0000 (11:40 -0500)
commit8ebc3b5aa4cfafd8b9d58e2595a12f0715594619
treeb1f07829b2126209721a9b92ac9514236aa986f2
parent1b6b0ce2240e717bd5839cc106a0bf6cdbac9abc
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>
drivers/mailbox/mtk-cmdq-mailbox.c
include/linux/mailbox/mtk-cmdq-mailbox.h