Blackfin: bf54x: constify pint register array

The array of pointers to register blocks never changes, so constify it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2011-06-26 12:48:52 -04:00
parent 1a9e5bfbd4
commit b0759a4d23

View file

@ -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,