summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 22:07:39 +0200
committerMartin Roth <martinroth@google.com>2019-06-22 17:54:31 +0000
commitb874ef4925332f16aba1ce85696abfb1da72e0cb (patch)
tree1681cd4f46f27ebb972fa77e88d6049305bf460e
parent361f6fff5fd301e69c1678cf20f107df7465aaf6 (diff)
src/ec: Use 'include <stdlib.h>' when appropriate
Change-Id: Ifdb2dee08da45d698174583ee5ed44bf5a0243ff Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32823 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--src/ec/compal/ene932/ec.c1
-rw-r--r--src/ec/google/wilco/mailbox.c1
-rw-r--r--src/ec/kontron/it8516e/ec.c1
-rw-r--r--src/ec/lenovo/h8/h8.c1
-rw-r--r--src/ec/lenovo/pmh7/pmh7.c1
-rw-r--r--src/ec/quanta/ene_kb3940q/ec.c1
-rw-r--r--src/ec/quanta/it8518/ec.c1
-rw-r--r--src/ec/roda/it8518/ec.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/src/ec/compal/ene932/ec.c b/src/ec/compal/ene932/ec.c
index 7d8880c185..cfabd8d12a 100644
--- a/src/ec/compal/ene932/ec.c
+++ b/src/ec/compal/ene932/ec.c
@@ -19,7 +19,6 @@
#include <console/console.h>
#include <device/device.h>
#include <device/pnp.h>
-#include <stdlib.h>
#include <arch/io.h>
#include <delay.h>
#include <pc80/keyboard.h>
diff --git a/src/ec/google/wilco/mailbox.c b/src/ec/google/wilco/mailbox.c
index d47290ccaf..3414c4af14 100644
--- a/src/ec/google/wilco/mailbox.c
+++ b/src/ec/google/wilco/mailbox.c
@@ -18,7 +18,6 @@
#include <delay.h>
#include <ec/google/common/mec.h>
#include <stdint.h>
-#include <stdlib.h>
#include <string.h>
#include <timer.h>
#include <types.h>
diff --git a/src/ec/kontron/it8516e/ec.c b/src/ec/kontron/it8516e/ec.c
index 5565382109..c0042fc729 100644
--- a/src/ec/kontron/it8516e/ec.c
+++ b/src/ec/kontron/it8516e/ec.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pnp.h>
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c
index f707014c31..2b959ceea1 100644
--- a/src/ec/lenovo/h8/h8.c
+++ b/src/ec/lenovo/h8/h8.c
@@ -18,7 +18,6 @@
#include <device/device.h>
#include <device/pnp.h>
#include <ec/acpi/ec.h>
-#include <stdlib.h>
#include <string.h>
#include <smbios.h>
#include <pc80/mc146818rtc.h>
diff --git a/src/ec/lenovo/pmh7/pmh7.c b/src/ec/lenovo/pmh7/pmh7.c
index ef505cd164..30de6fe949 100644
--- a/src/ec/lenovo/pmh7/pmh7.c
+++ b/src/ec/lenovo/pmh7/pmh7.c
@@ -17,7 +17,6 @@
#include <console/console.h>
#include <device/device.h>
#include <device/pnp.h>
-#include <stdlib.h>
#include <pc80/mc146818rtc.h>
#include <delay.h>
#include <types.h>
diff --git a/src/ec/quanta/ene_kb3940q/ec.c b/src/ec/quanta/ene_kb3940q/ec.c
index af2d3782a2..1f8e36c661 100644
--- a/src/ec/quanta/ene_kb3940q/ec.c
+++ b/src/ec/quanta/ene_kb3940q/ec.c
@@ -22,7 +22,6 @@
#include <device/pnp.h>
#include <delay.h>
#include <elog.h>
-#include <stdlib.h>
#include <pc80/keyboard.h>
#include "ec.h"
diff --git a/src/ec/quanta/it8518/ec.c b/src/ec/quanta/it8518/ec.c
index e293f7cb6a..5b9ba9f9bd 100644
--- a/src/ec/quanta/it8518/ec.c
+++ b/src/ec/quanta/it8518/ec.c
@@ -20,7 +20,6 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
#include "ec.h"
#include "chip.h"
diff --git a/src/ec/roda/it8518/ec.c b/src/ec/roda/it8518/ec.c
index 4e69d116ab..09ff480a99 100644
--- a/src/ec/roda/it8518/ec.c
+++ b/src/ec/roda/it8518/ec.c
@@ -18,7 +18,6 @@
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include <ec/acpi/ec.h>
-#include <stdlib.h>
#include <delay.h>
#include "chip.h"