summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-28 17:29:45 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-14 16:11:10 +0000
commit854782330ccd3f92d1b09bd006ddf127ba188cba (patch)
tree13a9e1fac65940b46883e1e9f2b77ad8fce54531 /src/drivers
parent5320f5387ef5cc4e54ef0e5e672b253e9d447592 (diff)
downloadcoreboot-854782330ccd3f92d1b09bd006ddf127ba188cba.tar.xz
src: Remove unused 'include <stdint.h>
Found using: diff <(git grep -l '#include <stdint.h>' -- src/) <(git grep -l 'int8_t\|int16_t\|int32_t\|int64_t\|intptr_t\|intmax_t\|s8\|u8\|s16\|u16\|s32\|u32\|s64\|u64\|INT8_MIN\|INT8_MAX\|INT16_MIN\|INT16_MAX\|INT32_MIN\|INT32_MAX\|INT64_MIN\|INT64_MAX\|INTMAX_MIN\|INTMAX_MAX' -- src/) |grep -v vendorcode |grep '<' Change-Id: I5e14bf4887c7d2644a64f4d58c6d8763eb74d2ed Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41827 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/i2c/rt1011/chip.h1
-rw-r--r--src/drivers/intel/fsp1_1/include/fsp/car.h1
-rw-r--r--src/drivers/intel/ptt/ptt.h1
-rw-r--r--src/drivers/intel/soundwire/soundwire.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/i2c/rt1011/chip.h b/src/drivers/i2c/rt1011/chip.h
index 9d1a1214d2..e5dee97159 100644
--- a/src/drivers/i2c/rt1011/chip.h
+++ b/src/drivers/i2c/rt1011/chip.h
@@ -4,7 +4,6 @@
* Realtek RT1011 audio codec devicetree bindings
*/
-#include <stdint.h>
struct drivers_i2c_rt1011_config {
const char *name; /* ACPI Device Name */
diff --git a/src/drivers/intel/fsp1_1/include/fsp/car.h b/src/drivers/intel/fsp1_1/include/fsp/car.h
index db203aeb36..ceb87d860f 100644
--- a/src/drivers/intel/fsp1_1/include/fsp/car.h
+++ b/src/drivers/intel/fsp1_1/include/fsp/car.h
@@ -4,7 +4,6 @@
#define FSP1_1_CAR_H
#include <fsp/api.h>
-#include <stdint.h>
/* Per stage calls from the above two functions. The void * return from
* cache_as_ram_stage_main() is the stack pointer to use in RAM after
diff --git a/src/drivers/intel/ptt/ptt.h b/src/drivers/intel/ptt/ptt.h
index 7bc878d71d..b447d585a7 100644
--- a/src/drivers/intel/ptt/ptt.h
+++ b/src/drivers/intel/ptt/ptt.h
@@ -8,7 +8,6 @@
* is still in the preboot phase.
*
*/
-#include <stdint.h>
/*
* ptt_active
*
diff --git a/src/drivers/intel/soundwire/soundwire.c b/src/drivers/intel/soundwire/soundwire.c
index ab09ff4473..34ecd86021 100644
--- a/src/drivers/intel/soundwire/soundwire.c
+++ b/src/drivers/intel/soundwire/soundwire.c
@@ -8,7 +8,6 @@
#include <device/path.h>
#include <device/soundwire.h>
#include <stdbool.h>
-#include <stdint.h>
#include "soundwire.h"
#include "chip.h"