HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33691
Change subject: soc/{qualcomm,rockchip}: Use 'include <stdlib.h>' when appropriate ......................................................................
soc/{qualcomm,rockchip}: Use 'include <stdlib.h>' when appropriate
Change-Id: Iab605f6be4a48c10fa5aae7a1222520149ad1392 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/soc/qualcomm/ipq806x/spi.c M src/soc/rockchip/common/edp.c M src/soc/rockchip/common/spi.c 3 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/33691/1
diff --git a/src/soc/qualcomm/ipq806x/spi.c b/src/soc/qualcomm/ipq806x/spi.c index 2657b9c..65ce594 100644 --- a/src/soc/qualcomm/ipq806x/spi.c +++ b/src/soc/qualcomm/ipq806x/spi.c @@ -19,7 +19,7 @@ #include <gpio.h> #include <soc/iomap.h> #include <soc/spi.h> -#include <stdlib.h> +#include <stddef.h>
#define SUCCESS 0
diff --git a/src/soc/rockchip/common/edp.c b/src/soc/rockchip/common/edp.c index 91e2de9..301bc41 100644 --- a/src/soc/rockchip/common/edp.c +++ b/src/soc/rockchip/common/edp.c @@ -18,7 +18,7 @@ #include <delay.h> #include <device/device.h> #include <edid.h> -#include <stdlib.h> +#include <stddef.h> #include <stdint.h> #include <string.h> #include <soc/addressmap.h> diff --git a/src/soc/rockchip/common/spi.c b/src/soc/rockchip/common/spi.c index e929419..1fc5889 100644 --- a/src/soc/rockchip/common/spi.c +++ b/src/soc/rockchip/common/spi.c @@ -23,7 +23,7 @@ #include <soc/clock.h> #include <spi-generic.h> #include <spi_flash.h> -#include <stdlib.h> +#include <stddef.h> #include <timer.h>
struct rockchip_spi_slave {