Commit c81a2480 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Marc Zyngier

irqchip/sunxi-nmi: Reorder sunxi_sc_nmi_reg_offs' in ascending order

This is a pure code move to reorder the various sunxi_sc_nmi_reg_offs'
by family and alphabetical order. No functionality changes.
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent e3ece0d5
...@@ -52,18 +52,18 @@ struct sunxi_sc_nmi_reg_offs { ...@@ -52,18 +52,18 @@ struct sunxi_sc_nmi_reg_offs {
u32 enable; u32 enable;
}; };
static struct sunxi_sc_nmi_reg_offs sun7i_reg_offs = {
.ctrl = SUN7I_NMI_CTRL,
.pend = SUN7I_NMI_PENDING,
.enable = SUN7I_NMI_ENABLE,
};
static struct sunxi_sc_nmi_reg_offs sun6i_reg_offs = { static struct sunxi_sc_nmi_reg_offs sun6i_reg_offs = {
.ctrl = SUN6I_NMI_CTRL, .ctrl = SUN6I_NMI_CTRL,
.pend = SUN6I_NMI_PENDING, .pend = SUN6I_NMI_PENDING,
.enable = SUN6I_NMI_ENABLE, .enable = SUN6I_NMI_ENABLE,
}; };
static struct sunxi_sc_nmi_reg_offs sun7i_reg_offs = {
.ctrl = SUN7I_NMI_CTRL,
.pend = SUN7I_NMI_PENDING,
.enable = SUN7I_NMI_ENABLE,
};
static struct sunxi_sc_nmi_reg_offs sun9i_reg_offs = { static struct sunxi_sc_nmi_reg_offs sun9i_reg_offs = {
.ctrl = SUN9I_NMI_CTRL, .ctrl = SUN9I_NMI_CTRL,
.pend = SUN9I_NMI_PENDING, .pend = SUN9I_NMI_PENDING,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment