From e725331354924b3f720c8bb7ca579d44cc63e574 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Sun, 15 Dec 2019 02:44:59 -0800 Subject: xtensa: clean up platform headers Drop include directives for irrelevant headers in asm/platform.h and its users. Sort remaining headers. Signed-off-by: Max Filippov --- arch/xtensa/include/asm/platform.h | 2 -- arch/xtensa/kernel/platform.c | 4 +--- arch/xtensa/platforms/iss/setup.c | 16 +++------------- arch/xtensa/platforms/xtfpga/setup.c | 1 + 4 files changed, 5 insertions(+), 18 deletions(-) (limited to 'arch/xtensa') diff --git a/arch/xtensa/include/asm/platform.h b/arch/xtensa/include/asm/platform.h index f2c48522c5a1..354ca942de40 100644 --- a/arch/xtensa/include/asm/platform.h +++ b/arch/xtensa/include/asm/platform.h @@ -12,8 +12,6 @@ #define _XTENSA_PLATFORM_H #include -#include - #include /* diff --git a/arch/xtensa/kernel/platform.c b/arch/xtensa/kernel/platform.c index a95ba05b0abe..25fd2cf1fe08 100644 --- a/arch/xtensa/kernel/platform.c +++ b/arch/xtensa/kernel/platform.c @@ -12,12 +12,10 @@ * Chris Zankel */ +#include #include -#include -#include #include #include -#include /* HZ */ #define _F(r,f,a,b) \ r __platform_##f a b; \ diff --git a/arch/xtensa/platforms/iss/setup.c b/arch/xtensa/platforms/iss/setup.c index e28dd53d7df5..554758823ff5 100644 --- a/arch/xtensa/platforms/iss/setup.c +++ b/arch/xtensa/platforms/iss/setup.c @@ -11,23 +11,13 @@ * Copyright 2001 - 2005 Tensilica Inc. * Copyright 2017 Cadence Design Systems Inc. */ -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include +#include +#include #include -#include #include #include diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c index 829115bb381f..b7e4580d3636 100644 --- a/arch/xtensa/platforms/xtfpga/setup.c +++ b/arch/xtensa/platforms/xtfpga/setup.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3