From a1e22b8192d5fc85995a41d0961c25293ba4391f Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 18 Mar 2019 22:49:36 +0100 Subject: src: Use 'include ' when appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop 'include ' when it is not used and add it when it is missing. Also extra lines removed, or added just before local includes. Change-Id: Iccac4dbaa2dd4144fc347af36ecfc9747da3de20 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/31966 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh Reviewed-by: Kyösti Mälkki --- src/soc/rockchip/common/i2c.c | 1 - src/soc/rockchip/common/vop.c | 1 - src/soc/rockchip/rk3288/hdmi.c | 1 - src/soc/rockchip/rk3288/sdram.c | 1 - src/soc/rockchip/rk3288/soc.c | 1 - src/soc/rockchip/rk3399/display.c | 1 - src/soc/rockchip/rk3399/sdram.c | 1 - src/soc/rockchip/rk3399/soc.c | 1 - 8 files changed, 8 deletions(-) (limited to 'src/soc/rockchip') diff --git a/src/soc/rockchip/common/i2c.c b/src/soc/rockchip/common/i2c.c index 3c66a580b6..e5f5a9a9bf 100644 --- a/src/soc/rockchip/common/i2c.c +++ b/src/soc/rockchip/common/i2c.c @@ -24,7 +24,6 @@ #include #include #include -#include #define RETRY_COUNT 3 /* 100000us = 100ms */ diff --git a/src/soc/rockchip/common/vop.c b/src/soc/rockchip/common/vop.c index ffd2bea9aa..1ee861ca93 100644 --- a/src/soc/rockchip/common/vop.c +++ b/src/soc/rockchip/common/vop.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/rockchip/rk3288/hdmi.c b/src/soc/rockchip/rk3288/hdmi.c index aecdeefcc5..425d302fbb 100644 --- a/src/soc/rockchip/rk3288/hdmi.c +++ b/src/soc/rockchip/rk3288/hdmi.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/rockchip/rk3288/sdram.c b/src/soc/rockchip/rk3288/sdram.c index b343babf1c..808ff963a8 100644 --- a/src/soc/rockchip/rk3288/sdram.c +++ b/src/soc/rockchip/rk3288/sdram.c @@ -21,7 +21,6 @@ #include #include #include -#include #include struct rk3288_ddr_pctl_regs { diff --git a/src/soc/rockchip/rk3288/soc.c b/src/soc/rockchip/rk3288/soc.c index ad679e59b9..19ad0eb471 100644 --- a/src/soc/rockchip/rk3288/soc.c +++ b/src/soc/rockchip/rk3288/soc.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include "chip.h" diff --git a/src/soc/rockchip/rk3399/display.c b/src/soc/rockchip/rk3399/display.c index 35e338dc96..e2e9f7d49b 100644 --- a/src/soc/rockchip/rk3399/display.c +++ b/src/soc/rockchip/rk3399/display.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/rockchip/rk3399/sdram.c b/src/soc/rockchip/rk3399/sdram.c index e01b3a683b..0e8cda60d7 100644 --- a/src/soc/rockchip/rk3399/sdram.c +++ b/src/soc/rockchip/rk3399/sdram.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c index ee8ac8a4bf..3f3ff97c7f 100644 --- a/src/soc/rockchip/rk3399/soc.c +++ b/src/soc/rockchip/rk3399/soc.c @@ -24,7 +24,6 @@ #include #include #include -#include #include void bootmem_platform_add_ranges(void) -- cgit v1.2.3