Skip to content

Commit

Permalink
drm/msm: constify irq_domain_ops
Browse files Browse the repository at this point in the history
struct irq_domain_ops is not modified, so it can be made const.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Rob Clark <robdclark@gmail.com>
  • Loading branch information
Tobias Klauser authored and Rob Clark committed May 27, 2017
1 parent adcbae3 commit c43dd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/msm/mdp/mdp5/mdp5_mdss.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static int mdss_hw_irqdomain_map(struct irq_domain *d, unsigned int irq,
return 0;
}

static struct irq_domain_ops mdss_hw_irqdomain_ops = {
static const struct irq_domain_ops mdss_hw_irqdomain_ops = {
.map = mdss_hw_irqdomain_map,
.xlate = irq_domain_xlate_onecell,
};
Expand Down

0 comments on commit c43dd22

Please sign in to comment.