Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7f5551c authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Paul Mundt
Browse files

sh: fix the id of scif in setup-sh7757



Because the value of CONFIG_SERIAL_SH_SCI_NR_UARTS is 3.

Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent e81e5ce2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ static struct plat_sci_port scif2_platform_data = {

static struct platform_device scif2_device = {
	.name		= "sh-sci",
	.id		= 2,
	.id		= 0,
	.dev		= {
		.platform_data	= &scif2_platform_data,
	},
@@ -41,7 +41,7 @@ static struct plat_sci_port scif3_platform_data = {

static struct platform_device scif3_device = {
	.name		= "sh-sci",
	.id		= 3,
	.id		= 1,
	.dev		= {
		.platform_data	= &scif3_platform_data,
	},
@@ -56,7 +56,7 @@ static struct plat_sci_port scif4_platform_data = {

static struct platform_device scif4_device = {
	.name		= "sh-sci",
	.id		= 4,
	.id		= 2,
	.dev		= {
		.platform_data	= &scif4_platform_data,
	},