Skip to content

Commit

Permalink
drm/msm: Add missing struct identifier
Browse files Browse the repository at this point in the history
fix warnings reported by make W=1
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:195: warning: cannot
understand function prototype: 'const struct dpu_intr_reg
dpu_intr_set[] = '
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c:252: warning: cannot
understand function prototype: 'const struct dpu_irq_type
dpu_irq_map[] = '

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
  • Loading branch information
Tian Tao authored and Rob Clark committed Nov 4, 2020
1 parent a0b21e0 commit c731461
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ struct dpu_irq_type {
};

/**
* List of DPU interrupt registers
* struct dpu_intr_reg - List of DPU interrupt registers
*/
static const struct dpu_intr_reg dpu_intr_set[] = {
{
Expand Down Expand Up @@ -246,8 +246,9 @@ static const struct dpu_intr_reg dpu_intr_set[] = {
};

/**
* IRQ mapping table - use for lookup an irq_idx in this table that have
* a matching interface type and instance index.
* struct dpu_irq_type - IRQ mapping table use for lookup an irq_idx in this
* table that have a matching interface type and
* instance index.
*/
static const struct dpu_irq_type dpu_irq_map[] = {
/* BEGIN MAP_RANGE: 0-31, INTR */
Expand Down

0 comments on commit c731461

Please sign in to comment.