summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-sunxi-nmi.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2017-06-06 07:59:25 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2017-06-22 15:06:45 +0200
commitc81a248069cd2f48f6326c35e2cdbd181cbc403c (patch)
tree81ed8d1c3c11287aaf225709a7dfc1b807d39ccd /drivers/irqchip/irq-sunxi-nmi.c
parentirqchip/sunxi-nmi: Document interrupt disabling and clearing at probe time (diff)
downloadlinux-c81a248069cd2f48f6326c35e2cdbd181cbc403c.tar.xz
linux-c81a248069cd2f48f6326c35e2cdbd181cbc403c.zip
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: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-sunxi-nmi.c')
-rw-r--r--drivers/irqchip/irq-sunxi-nmi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/irqchip/irq-sunxi-nmi.c b/drivers/irqchip/irq-sunxi-nmi.c
index 9a7f6971cc3a..76f2431b6b7b 100644
--- a/drivers/irqchip/irq-sunxi-nmi.c
+++ b/drivers/irqchip/irq-sunxi-nmi.c
@@ -52,18 +52,18 @@ struct sunxi_sc_nmi_reg_offs {
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 = {
.ctrl = SUN6I_NMI_CTRL,
.pend = SUN6I_NMI_PENDING,
.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 = {
.ctrl = SUN9I_NMI_CTRL,
.pend = SUN9I_NMI_PENDING,