Skip to content

Commit

Permalink
Blackfin: bf54x: constify pint register array
Browse files Browse the repository at this point in the history
The array of pointers to register blocks never changes, so constify it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed Jul 23, 2011
1 parent 1a9e5bf commit b0759a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/mach-common/ints-priority.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ struct pin_int_t {
unsigned int latch;
};

static struct pin_int_t *pint[NR_PINT_SYS_IRQS] = {
static struct pin_int_t * const pint[NR_PINT_SYS_IRQS] = {
(struct pin_int_t *)PINT0_MASK_SET,
(struct pin_int_t *)PINT1_MASK_SET,
(struct pin_int_t *)PINT2_MASK_SET,
Expand Down

0 comments on commit b0759a4

Please sign in to comment.