diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-15 21:11:39 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-29 20:28:56 +0000 |
commit | 27d02d8286aff64115ae593a189c38fdaf3ce769 (patch) | |
tree | 53b2eccef24a14c530b5af9d75488a1ff9147342 /src/soc/rockchip/rk3399 | |
parent | ab89edbccf6e614213bbd88f5dbd5c8bf9a5d4c6 (diff) |
src/soc: Add missing 'include <types.h>'
<types.h> is supposed to provide <stdint.h> and <stddef.h>.
When <types.h> is included, <stdint.h> and/or <stddef.h> is removed.
Change-Id: I2db0a647bc657a3626cb5e78f23e9198e290261a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32810
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/soc/rockchip/rk3399')
-rw-r--r-- | src/soc/rockchip/rk3399/include/soc/mipi.h | 1 | ||||
-rw-r--r-- | src/soc/rockchip/rk3399/mipi.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/rockchip/rk3399/include/soc/mipi.h b/src/soc/rockchip/rk3399/include/soc/mipi.h index f304d8fcd0..43ab7b914f 100644 --- a/src/soc/rockchip/rk3399/include/soc/mipi.h +++ b/src/soc/rockchip/rk3399/include/soc/mipi.h @@ -17,6 +17,7 @@ #define __RK_MIPI_H #include <stdlib.h> +#include <types.h> struct rk_mipi_regs { u32 dsi_version; diff --git a/src/soc/rockchip/rk3399/mipi.c b/src/soc/rockchip/rk3399/mipi.c index cc16563c43..1f3f02cbee 100644 --- a/src/soc/rockchip/rk3399/mipi.c +++ b/src/soc/rockchip/rk3399/mipi.c @@ -20,13 +20,13 @@ #include <edid.h> #include <gpio.h> #include <stdlib.h> -#include <stdint.h> #include <string.h> #include <soc/addressmap.h> #include <soc/clock.h> #include <soc/display.h> #include <soc/mipi.h> #include <soc/soc.h> +#include <types.h> #include <timer.h> static struct rk_mipi_dsi rk_mipi[2] = { |