summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4a/setup-sh7366.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2017-01-11 16:43:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 14:17:04 +0100
commit3d73f32bfa312155a0990efd95803a3e7061140c (patch)
treef7cfe5ce7b9bbf857624d6345d6194295f79c08a /arch/sh/kernel/cpu/sh4a/setup-sh7366.c
parent9f8325b3c19cf2e5df6b9624480748421104d00c (diff)
downloadlinux-3d73f32bfa312155a0990efd95803a3e7061140c.tar.bz2
serial: sh-sci: Don't rely on platform data flags when not needed
The UPF_BOOT_AUTOCONF platform data flag is set by all platforms, hardcode it. The UPF_IOREMAP flag is set by a single SH platform and thus needs to be kept. However, for ARM platforms, we can base the decision on whether an OF node is present and bypass the platform data flags completely. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7366.c')
0 files changed, 0 insertions, 0 deletions