irqchip/sunxi-nmi: Reorder sunxi_sc_nmi_reg_offs' in ascending order
authorChen-Yu Tsai <wens@csie.org>
Tue, 6 Jun 2017 05:59:25 +0000 (13:59 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 22 Jun 2017 13:06:45 +0000 (14:06 +0100)
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>
drivers/irqchip/irq-sunxi-nmi.c

index 9a7f6971cc3a152d8a794648b1fe164e01b0b09c..76f2431b6b7b61ee452f537d5bacd78d5b1f8b57 100644 (file)
@@ -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,