aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-12-10 22:26:24 -0500
committerLinus Walleij <linus.walleij@linaro.org>2013-12-12 16:07:18 -0500
commitde55c71feb312baa7cf18d3eb966e3bf932d455a (patch)
treed005f74782ad5fedd7e4dedf3f9f0dcc12a6344b /drivers/pinctrl
parentc48ca30341011fabb0c8bb88b58fce5b7ae9ebd9 (diff)
sh-pfc: sh73a0: Sort IRQ entries by IRQ number
This makes catching duplicate entries easier. Merge the two IRQ9 entries found after sorting. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/sh-pfc/pfc-sh73a0.c47
1 files changed, 23 insertions, 24 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
index a6bd1e772345..a8d472210e32 100644
--- a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
+++ b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c
@@ -3651,39 +3651,38 @@ static const struct pinmux_data_reg pinmux_data_regs[] = {
3651}; 3651};
3652 3652
3653static const struct pinmux_irq pinmux_irqs[] = { 3653static const struct pinmux_irq pinmux_irqs[] = {
3654 PINMUX_IRQ(irq_pin(15), 0),
3655 PINMUX_IRQ(irq_pin(19), 9),
3656 PINMUX_IRQ(irq_pin(1), 10),
3657 PINMUX_IRQ(irq_pin(0), 11), 3654 PINMUX_IRQ(irq_pin(0), 11),
3655 PINMUX_IRQ(irq_pin(1), 10),
3656 PINMUX_IRQ(irq_pin(2), 149),
3657 PINMUX_IRQ(irq_pin(3), 224),
3658 PINMUX_IRQ(irq_pin(4), 159),
3659 PINMUX_IRQ(irq_pin(5), 227),
3660 PINMUX_IRQ(irq_pin(6), 147),
3661 PINMUX_IRQ(irq_pin(7), 150),
3662 PINMUX_IRQ(irq_pin(8), 223),
3663 PINMUX_IRQ(irq_pin(9), 56, 308),
3664 PINMUX_IRQ(irq_pin(10), 54),
3665 PINMUX_IRQ(irq_pin(11), 238),
3666 PINMUX_IRQ(irq_pin(12), 156),
3667 PINMUX_IRQ(irq_pin(13), 239),
3668 PINMUX_IRQ(irq_pin(14), 251),
3669 PINMUX_IRQ(irq_pin(15), 0),
3670 PINMUX_IRQ(irq_pin(16), 249),
3671 PINMUX_IRQ(irq_pin(17), 234),
3658 PINMUX_IRQ(irq_pin(18), 13), 3672 PINMUX_IRQ(irq_pin(18), 13),
3673 PINMUX_IRQ(irq_pin(19), 9),
3659 PINMUX_IRQ(irq_pin(20), 14), 3674 PINMUX_IRQ(irq_pin(20), 14),
3660 PINMUX_IRQ(irq_pin(21), 15), 3675 PINMUX_IRQ(irq_pin(21), 15),
3661 PINMUX_IRQ(irq_pin(31), 26),
3662 PINMUX_IRQ(irq_pin(30), 27),
3663 PINMUX_IRQ(irq_pin(29), 28),
3664 PINMUX_IRQ(irq_pin(22), 40), 3676 PINMUX_IRQ(irq_pin(22), 40),
3665 PINMUX_IRQ(irq_pin(23), 53), 3677 PINMUX_IRQ(irq_pin(23), 53),
3666 PINMUX_IRQ(irq_pin(10), 54), 3678 PINMUX_IRQ(irq_pin(24), 118),
3667 PINMUX_IRQ(irq_pin(9), 56), 3679 PINMUX_IRQ(irq_pin(25), 164),
3668 PINMUX_IRQ(irq_pin(26), 115), 3680 PINMUX_IRQ(irq_pin(26), 115),
3669 PINMUX_IRQ(irq_pin(27), 116), 3681 PINMUX_IRQ(irq_pin(27), 116),
3670 PINMUX_IRQ(irq_pin(28), 117), 3682 PINMUX_IRQ(irq_pin(28), 117),
3671 PINMUX_IRQ(irq_pin(24), 118), 3683 PINMUX_IRQ(irq_pin(29), 28),
3672 PINMUX_IRQ(irq_pin(6), 147), 3684 PINMUX_IRQ(irq_pin(30), 27),
3673 PINMUX_IRQ(irq_pin(2), 149), 3685 PINMUX_IRQ(irq_pin(31), 26),
3674 PINMUX_IRQ(irq_pin(7), 150),
3675 PINMUX_IRQ(irq_pin(12), 156),
3676 PINMUX_IRQ(irq_pin(4), 159),
3677 PINMUX_IRQ(irq_pin(25), 164),
3678 PINMUX_IRQ(irq_pin(8), 223),
3679 PINMUX_IRQ(irq_pin(3), 224),
3680 PINMUX_IRQ(irq_pin(5), 227),
3681 PINMUX_IRQ(irq_pin(17), 234),
3682 PINMUX_IRQ(irq_pin(11), 238),
3683 PINMUX_IRQ(irq_pin(13), 239),
3684 PINMUX_IRQ(irq_pin(16), 249),
3685 PINMUX_IRQ(irq_pin(14), 251),
3686 PINMUX_IRQ(irq_pin(9), 308),
3687}; 3686};
3688 3687
3689/* ----------------------------------------------------------------------------- 3688/* -----------------------------------------------------------------------------