Commit ff8de98d authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Simon Horman

ARM: shmobile: r8a7779: scif .irqs used SCIx_IRQ_MUXED()

This patch tidyup scif .irqs settings by using
SCIx_IRQ_MUXED() macro.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 93301f5d
...@@ -66,8 +66,7 @@ static struct plat_sci_port scif0_platform_data = { ...@@ -66,8 +66,7 @@ static struct plat_sci_port scif0_platform_data = {
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1, .scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,
.scbrr_algo_id = SCBRR_ALGO_2, .scbrr_algo_id = SCBRR_ALGO_2,
.type = PORT_SCIF, .type = PORT_SCIF,
.irqs = { gic_spi(88), gic_spi(88), .irqs = SCIx_IRQ_MUXED(gic_spi(88)),
gic_spi(88), gic_spi(88) },
}; };
static struct platform_device scif0_device = { static struct platform_device scif0_device = {
...@@ -84,8 +83,7 @@ static struct plat_sci_port scif1_platform_data = { ...@@ -84,8 +83,7 @@ static struct plat_sci_port scif1_platform_data = {
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1, .scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,
.scbrr_algo_id = SCBRR_ALGO_2, .scbrr_algo_id = SCBRR_ALGO_2,
.type = PORT_SCIF, .type = PORT_SCIF,
.irqs = { gic_spi(89), gic_spi(89), .irqs = SCIx_IRQ_MUXED(gic_spi(89)),
gic_spi(89), gic_spi(89) },
}; };
static struct platform_device scif1_device = { static struct platform_device scif1_device = {
...@@ -102,8 +100,7 @@ static struct plat_sci_port scif2_platform_data = { ...@@ -102,8 +100,7 @@ static struct plat_sci_port scif2_platform_data = {
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1, .scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,
.scbrr_algo_id = SCBRR_ALGO_2, .scbrr_algo_id = SCBRR_ALGO_2,
.type = PORT_SCIF, .type = PORT_SCIF,
.irqs = { gic_spi(90), gic_spi(90), .irqs = SCIx_IRQ_MUXED(gic_spi(90)),
gic_spi(90), gic_spi(90) },
}; };
static struct platform_device scif2_device = { static struct platform_device scif2_device = {
...@@ -120,8 +117,7 @@ static struct plat_sci_port scif3_platform_data = { ...@@ -120,8 +117,7 @@ static struct plat_sci_port scif3_platform_data = {
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1, .scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,
.scbrr_algo_id = SCBRR_ALGO_2, .scbrr_algo_id = SCBRR_ALGO_2,
.type = PORT_SCIF, .type = PORT_SCIF,
.irqs = { gic_spi(91), gic_spi(91), .irqs = SCIx_IRQ_MUXED(gic_spi(91)),
gic_spi(91), gic_spi(91) },
}; };
static struct platform_device scif3_device = { static struct platform_device scif3_device = {
...@@ -138,8 +134,7 @@ static struct plat_sci_port scif4_platform_data = { ...@@ -138,8 +134,7 @@ static struct plat_sci_port scif4_platform_data = {
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1, .scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,
.scbrr_algo_id = SCBRR_ALGO_2, .scbrr_algo_id = SCBRR_ALGO_2,
.type = PORT_SCIF, .type = PORT_SCIF,
.irqs = { gic_spi(92), gic_spi(92), .irqs = SCIx_IRQ_MUXED(gic_spi(92)),
gic_spi(92), gic_spi(92) },
}; };
static struct platform_device scif4_device = { static struct platform_device scif4_device = {
...@@ -156,8 +151,7 @@ static struct plat_sci_port scif5_platform_data = { ...@@ -156,8 +151,7 @@ static struct plat_sci_port scif5_platform_data = {
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1, .scscr = SCSCR_RE | SCSCR_TE | SCSCR_CKE1,
.scbrr_algo_id = SCBRR_ALGO_2, .scbrr_algo_id = SCBRR_ALGO_2,
.type = PORT_SCIF, .type = PORT_SCIF,
.irqs = { gic_spi(93), gic_spi(93), .irqs = SCIx_IRQ_MUXED(gic_spi(93)),
gic_spi(93), gic_spi(93) },
}; };
static struct platform_device scif5_device = { static struct platform_device scif5_device = {
......
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