Skip to content
Snippets Groups Projects
Commit b0759a4d authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: bf54x: constify pint register array


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

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 1a9e5bfb
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment