From 231537bb8fa013b11e7fbbf3f0b7c7b1496ea210 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 23 Jun 2019 07:07:49 +0200 Subject: soc/mediatek: Use 'include ' when appropriate Also including , is supposed to provide stdint and stddef. Change-Id: Id6d881055826044d04843ba165641131b9111342 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/33690 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/mediatek/common/spi.c | 2 +- src/soc/mediatek/mt8173/flash_controller.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/mediatek/common/spi.c b/src/soc/mediatek/common/spi.c index 1af6f105c3..40ab9b7002 100644 --- a/src/soc/mediatek/common/spi.c +++ b/src/soc/mediatek/common/spi.c @@ -17,10 +17,10 @@ #include #include #include -#include #include #include #include +#include #define MTK_SPI_DEBUG 0 diff --git a/src/soc/mediatek/mt8173/flash_controller.c b/src/soc/mediatek/mt8173/flash_controller.c index bca2ecf98d..b491a41efd 100644 --- a/src/soc/mediatek/mt8173/flash_controller.c +++ b/src/soc/mediatek/mt8173/flash_controller.c @@ -21,12 +21,12 @@ #include #include #include -#include #include #include #include #include #include +#include #define get_nth_byte(d, n) ((d >> (8 * n)) & 0xff) -- cgit v1.2.3