diff options
author | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2021-07-04 15:36:48 +0800 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2021-08-17 07:08:11 +0800 |
commit | f4be17cd5b14dd73545b0e014a63ebe9ab5ef837 (patch) | |
tree | 1f28584c472b98298a08756d57837b87253d1f72 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | c1ec54b7b5af25c779192253f5a9f05e95cb43d7 (diff) |
drm/mediatek: Remove struct cmdq_client
In mailbox rx_callback, it pass struct mbox_client to callback
function, but it could not map back to mtk_drm_crtc instance
because struct cmdq_client use a pointer to struct mbox_client:
struct cmdq_client {
struct mbox_client client;
struct mbox_chan *chan;
};
struct mtk_drm_crtc {
/* client instance data */
struct cmdq_client *cmdq_client;
};
so remove struct cmdq_client and let mtk_drm_crtc instance define
mbox_client as:
struct mtk_drm_crtc {
/* client instance data */
struct mbox_client cl;
};
and in rx_callback function, use struct mbox_client to get
struct mtk_drm_crtc.
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions