summaryrefslogtreecommitdiff
path: root/src/superio/nuvoton
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 22:11:18 +0200
committerFelix Held <felix-coreboot@felixheld.de>2019-10-20 15:55:25 +0000
commit2329a2537deb8091b3def3ef7752582298039588 (patch)
tree4520f0398ca99d34378d7d249a89c6ab5bbf3432 /src/superio/nuvoton
parent6a0e5deb90f370b51cb2cbe275a98757fb1f0557 (diff)
downloadcoreboot-2329a2537deb8091b3def3ef7752582298039588.tar.xz
superio: Use 'include <stdlib.h>' when appropriate
Change-Id: I55e7b680e128f29a9fd549edfb676e6571330677 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32830 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/nuvoton')
-rw-r--r--src/superio/nuvoton/nct5104d/superio.c2
-rw-r--r--src/superio/nuvoton/nct5572d/superio.c1
-rw-r--r--src/superio/nuvoton/nct6776/superio.c1
-rw-r--r--src/superio/nuvoton/nct6779d/superio.c1
-rw-r--r--src/superio/nuvoton/nct6791d/superio.c1
-rw-r--r--src/superio/nuvoton/npcd378/superio.c1
-rw-r--r--src/superio/nuvoton/wpcm450/superio.c2
7 files changed, 2 insertions, 7 deletions
diff --git a/src/superio/nuvoton/nct5104d/superio.c b/src/superio/nuvoton/nct5104d/superio.c
index 40d1200336..493e0cef57 100644
--- a/src/superio/nuvoton/nct5104d/superio.c
+++ b/src/superio/nuvoton/nct5104d/superio.c
@@ -16,7 +16,7 @@
#include <device/pnp.h>
#include <superio/conf_mode.h>
-#include <stdlib.h>
+
#include "nct5104d.h"
#include "chip.h"
diff --git a/src/superio/nuvoton/nct5572d/superio.c b/src/superio/nuvoton/nct5572d/superio.c
index e8249d4e69..30846872a0 100644
--- a/src/superio/nuvoton/nct5572d/superio.c
+++ b/src/superio/nuvoton/nct5572d/superio.c
@@ -21,7 +21,6 @@
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include <pc80/mc146818rtc.h>
-#include <stdlib.h>
#include <arch/acpi.h>
#include <superio/conf_mode.h>
diff --git a/src/superio/nuvoton/nct6776/superio.c b/src/superio/nuvoton/nct6776/superio.c
index e399c0a703..78e07b66d6 100644
--- a/src/superio/nuvoton/nct6776/superio.c
+++ b/src/superio/nuvoton/nct6776/superio.c
@@ -19,7 +19,6 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
#include <superio/conf_mode.h>
#include "nct6776.h"
diff --git a/src/superio/nuvoton/nct6779d/superio.c b/src/superio/nuvoton/nct6779d/superio.c
index 49e630635e..7ef3488b8c 100644
--- a/src/superio/nuvoton/nct6779d/superio.c
+++ b/src/superio/nuvoton/nct6779d/superio.c
@@ -20,7 +20,6 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
#include <superio/conf_mode.h>
#include "nct6779d.h"
diff --git a/src/superio/nuvoton/nct6791d/superio.c b/src/superio/nuvoton/nct6791d/superio.c
index 3a6d74043f..23d5a6f824 100644
--- a/src/superio/nuvoton/nct6791d/superio.c
+++ b/src/superio/nuvoton/nct6791d/superio.c
@@ -21,7 +21,6 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
#include <superio/conf_mode.h>
#include "nct6791d.h"
diff --git a/src/superio/nuvoton/npcd378/superio.c b/src/superio/nuvoton/npcd378/superio.c
index c1f557ebed..f11e75a550 100644
--- a/src/superio/nuvoton/npcd378/superio.c
+++ b/src/superio/nuvoton/npcd378/superio.c
@@ -23,7 +23,6 @@
#include <device/pnp.h>
#include <option.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
#include <superio/conf_mode.h>
#include <arch/acpi.h>
#include <arch/acpigen.h>
diff --git a/src/superio/nuvoton/wpcm450/superio.c b/src/superio/nuvoton/wpcm450/superio.c
index c666818530..aeb394acca 100644
--- a/src/superio/nuvoton/wpcm450/superio.c
+++ b/src/superio/nuvoton/wpcm450/superio.c
@@ -17,7 +17,7 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
-#include <stdlib.h>
+
#include "wpcm450.h"
static void init(struct device *dev)