commit | 11b345ab79a1986fd9da365f646621d9ced9dcfb | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Tue Jun 06 13:59:26 2017 +0800 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Thu Jun 22 14:07:02 2017 +0100 |
tree | 61d525bcec7bc72d507ff3647a7081d76a03e64a | |
parent | c81a248069cd2f48f6326c35e2cdbd181cbc403c [diff] |
irqchip/sunxi-nmi: Const-ify sunxi_sc_nmi_reg_offs structures The sunxi_sc_nmi_reg_offs, which hold the register offsets for the various variants, is never modified, and only used at init time within the init functions referenced by IRQCHIP_DECLARE, which themselves are tagged __init. Const-ify the sunxi_sc_nmi_reg_offs structures, and tag them as __initconst. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>