Skip to content

Commit

Permalink
irq_domain/c6x: constify irq_domain structures
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Likely <[email protected]>
Cc: Mark Salter <[email protected]>
Cc: Thomas Gleixner <[email protected]>
  • Loading branch information
glikely committed Feb 16, 2012
1 parent 0bd761e commit 15a2598
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/common/gic.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ static int gic_irq_domain_xlate(struct irq_domain *d,
return 0;
}

struct irq_domain_ops gic_irq_domain_ops = {
const struct irq_domain_ops gic_irq_domain_ops = {
.map = gic_irq_domain_map,
.xlate = gic_irq_domain_xlate,
};
Expand Down
2 changes: 1 addition & 1 deletion arch/c6x/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static int core_domain_map(struct irq_domain *h, unsigned int virq,
return 0;
}

static struct irq_domain_ops core_domain_ops = {
static const struct irq_domain_ops core_domain_ops = {
.map = core_domain_map,
};

Expand Down
2 changes: 1 addition & 1 deletion arch/c6x/platforms/megamod-pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static int megamod_xlate(struct irq_domain *h, struct device_node *ct,
return 0;
}

static struct irq_domain_ops megamod_domain_ops = {
static const struct irq_domain_ops megamod_domain_ops = {
.map = megamod_map,
.xlate = megamod_xlate,
};
Expand Down

0 comments on commit 15a2598

Please sign in to comment.