sh: sh2: Change the specification method of IRQ to SCIx_IRQ_MUXED
Some SCIF devices specify the same IRQ. We can use SCIx_IRQ_MUXED for this. This is correction to the SH2/SH2A series. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:

committed by
Paul Mundt

parent
545f3bcf32
commit
e00e7cb3b7
@@ -139,7 +139,7 @@ static struct plat_sci_port scif0_platform_data = {
|
||||
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
|
||||
.scbrr_algo_id = SCBRR_ALGO_2,
|
||||
.type = PORT_SCIF,
|
||||
.irqs = { 240, 240, 240, 240 },
|
||||
.irqs = SCIx_IRQ_MUXED(240),
|
||||
};
|
||||
|
||||
static struct platform_device scif0_device = {
|
||||
@@ -156,7 +156,7 @@ static struct plat_sci_port scif1_platform_data = {
|
||||
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
|
||||
.scbrr_algo_id = SCBRR_ALGO_2,
|
||||
.type = PORT_SCIF,
|
||||
.irqs = { 244, 244, 244, 244 },
|
||||
.irqs = SCIx_IRQ_MUXED(244),
|
||||
};
|
||||
|
||||
static struct platform_device scif1_device = {
|
||||
@@ -173,7 +173,7 @@ static struct plat_sci_port scif2_platform_data = {
|
||||
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
|
||||
.scbrr_algo_id = SCBRR_ALGO_2,
|
||||
.type = PORT_SCIF,
|
||||
.irqs = { 248, 248, 248, 248 },
|
||||
.irqs = SCIx_IRQ_MUXED(248),
|
||||
};
|
||||
|
||||
static struct platform_device scif2_device = {
|
||||
@@ -190,7 +190,7 @@ static struct plat_sci_port scif3_platform_data = {
|
||||
.scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
|
||||
.scbrr_algo_id = SCBRR_ALGO_2,
|
||||
.type = PORT_SCIF,
|
||||
.irqs = { 252, 252, 252, 252 },
|
||||
.irqs = SCIx_IRQ_MUXED(252),
|
||||
};
|
||||
|
||||
static struct platform_device scif3_device = {
|
||||
|
Reference in New Issue
Block a user