From 17b1a166a3d91abb9cd33c328be50a6f91f0fb89 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 23 Jun 2019 07:08:12 +0200 Subject: [PATCH] soc/{qualcomm,rockchip}: Use 'include ' when appropriate Also including , is supposed to provide stdint and stddef. Change-Id: Iab605f6be4a48c10fa5aae7a1222520149ad1392 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/33691 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/qualcomm/ipq806x/spi.c | 2 +- src/soc/rockchip/common/edp.c | 3 +-- src/soc/rockchip/common/spi.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/soc/qualcomm/ipq806x/spi.c b/src/soc/qualcomm/ipq806x/spi.c index 2657b9c574..64a98d5123 100644 --- a/src/soc/qualcomm/ipq806x/spi.c +++ b/src/soc/qualcomm/ipq806x/spi.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include #define SUCCESS 0 diff --git a/src/soc/rockchip/common/edp.c b/src/soc/rockchip/common/edp.c index 91e2de9ff4..ea0930a058 100644 --- a/src/soc/rockchip/common/edp.c +++ b/src/soc/rockchip/common/edp.c @@ -18,13 +18,12 @@ #include #include #include -#include -#include #include #include #include #include #include +#include #define edp_debug(x...) do {if (0) printk(BIOS_DEBUG, x); } while (0) diff --git a/src/soc/rockchip/common/spi.c b/src/soc/rockchip/common/spi.c index e929419a14..7bde4333ea 100644 --- a/src/soc/rockchip/common/spi.c +++ b/src/soc/rockchip/common/spi.c @@ -23,8 +23,8 @@ #include #include #include -#include #include +#include struct rockchip_spi_slave { struct rockchip_spi *regs;