Skip to content

Commit

Permalink
drm/mediatek: gamma: Add kerneldoc for struct mtk_disp_gamma
Browse files Browse the repository at this point in the history
The mtk_disp_gamma structure was completely undocumented: add some
kerneldoc documentation to it.

Reviewed-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20231012095736.100784-16-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
  • Loading branch information
AngeloGioacchino Del Regno authored and Chun-Kuang Hu committed Oct 16, 2023
1 parent 2b6c319 commit a33a56a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions drivers/gpu/drm/mediatek/mtk_disp_gamma.c
Original file line number Diff line number Diff line change
@@ -50,8 +50,12 @@ struct mtk_disp_gamma_data {
u8 lut_bits;
};

/*
* struct mtk_disp_gamma - DISP_GAMMA driver structure
/**
* struct mtk_disp_gamma - Display Gamma driver structure
* @clk: clock for DISP_GAMMA block
* @regs: MMIO registers base
* @cmdq_reg: CMDQ Client register
* @data: platform data for DISP_GAMMA
*/
struct mtk_disp_gamma {
struct clk *clk;

0 comments on commit a33a56a

Please sign in to comment.