提交 b0759a4d 编写于 作者: M Mike Frysinger

Blackfin: bf54x: constify pint register array

The array of pointers to register blocks never changes, so constify it.
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 1a9e5bfb
...@@ -660,7 +660,7 @@ struct pin_int_t { ...@@ -660,7 +660,7 @@ struct pin_int_t {
unsigned int latch; 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 *)PINT0_MASK_SET,
(struct pin_int_t *)PINT1_MASK_SET, (struct pin_int_t *)PINT1_MASK_SET,
(struct pin_int_t *)PINT2_MASK_SET, (struct pin_int_t *)PINT2_MASK_SET,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册