From 9c21ac508c6a75ba2670efe25f6de902ce32e98e Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 11 Jan 2017 16:43:28 +0200 Subject: sh: Don't set the sh-sci pdata UPF_BOOT_AUTOCONF flags The flag is set by the driver internally, don't set it in platform data. Signed-off-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven Signed-off-by: Greg Kroah-Hartman --- arch/sh/kernel/cpu/sh4/setup-sh7750.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/sh/kernel/cpu/sh4/setup-sh7750.c') diff --git a/arch/sh/kernel/cpu/sh4/setup-sh7750.c b/arch/sh/kernel/cpu/sh4/setup-sh7750.c index 9baabda..f693f12 100644 --- a/arch/sh/kernel/cpu/sh4/setup-sh7750.c +++ b/arch/sh/kernel/cpu/sh4/setup-sh7750.c @@ -39,7 +39,6 @@ static struct platform_device rtc_device = { static struct plat_sci_port sci_platform_data = { .port_reg = 0xffe0001C, - .flags = UPF_BOOT_AUTOCONF, .type = PORT_SCI, .regshift = 2, }; @@ -60,7 +59,6 @@ static struct platform_device sci_device = { }; static struct plat_sci_port scif_platform_data = { - .flags = UPF_BOOT_AUTOCONF, .scscr = SCSCR_REIE, .type = PORT_SCIF, }; -- cgit v1.1