diff options
author | 2021-03-15 07:33:21 +0800 | |
---|---|---|
committer | 2021-06-26 11:39:54 -0500 | |
commit | b3c0d72b092e52ae7369b52fb97f63eb2ea7f16a (patch) | |
tree | d486dea10a365344f3e671e0dd92814596c4dd26 /include/linux/mailbox | |
parent | mailbox: imx-mailbox: support i.MX8ULP MU (diff) | |
download | linux-b3c0d72b092e52ae7369b52fb97f63eb2ea7f16a.tar.gz linux-b3c0d72b092e52ae7369b52fb97f63eb2ea7f16a.tar.bz2 linux-b3c0d72b092e52ae7369b52fb97f63eb2ea7f16a.zip |
mailbox: mtk-cmdq: Remove cmdq_cb_status
cmdq_cb_status is an error status. Use the standard error number
instead of cmdq_cb_status to prevent status duplication.
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.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/mailbox/mtk-cmdq-mailbox.h b/include/linux/mailbox/mtk-cmdq-mailbox.h index d5a983d65f05..2f7d9a37d611 100644 --- a/include/linux/mailbox/mtk-cmdq-mailbox.h +++ b/include/linux/mailbox/mtk-cmdq-mailbox.h @@ -65,13 +65,8 @@ enum cmdq_code { CMDQ_CODE_LOGIC = 0xa0, }; -enum cmdq_cb_status { - CMDQ_CB_NORMAL = 0, - CMDQ_CB_ERROR -}; - struct cmdq_cb_data { - enum cmdq_cb_status sta; + int sta; void *data; }; |