diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-06-23 07:08:12 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-25 16:06:54 +0000 |
commit | 17b1a166a3d91abb9cd33c328be50a6f91f0fb89 (patch) | |
tree | 35bafb291b95d12ed0be99c9be66f98d17f041bd /src/soc/rockchip/common/spi.c | |
parent | 231537bb8fa013b11e7fbbf3f0b7c7b1496ea210 (diff) | |
download | coreboot-17b1a166a3d91abb9cd33c328be50a6f91f0fb89.tar.xz |
soc/{qualcomm,rockchip}: Use 'include <stdlib.h>' when appropriate
Also including <types.h>, is supposed to provide stdint and stddef.
Change-Id: Iab605f6be4a48c10fa5aae7a1222520149ad1392
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33691
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/rockchip/common/spi.c')
-rw-r--r-- | src/soc/rockchip/common/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <soc/clock.h> #include <spi-generic.h> #include <spi_flash.h> -#include <stdlib.h> #include <timer.h> +#include <types.h> struct rockchip_spi_slave { struct rockchip_spi *regs; |