summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-03-29 17:12:15 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-04-23 10:01:36 +0000
commitcd4fe0f718cfc49e5d58f1770e23cd065a26241e (patch)
treea1b335fc76f89e79480456e3c6cd1672f4eefb2c /src/superio
parent351e3e520ba71b4aafaf930af37f78b71c1d7251 (diff)
downloadcoreboot-cd4fe0f718cfc49e5d58f1770e23cd065a26241e.tar.xz
src: include <assert.h> when appropriate
Change-Id: Ib843eb7144b7dc2932931b9e8f3f1d816bcc1e1a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/26796 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: David Guckian
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/renesas/m3885x/superio.c1
-rw-r--r--src/superio/smsc/lpc47n227/early_serial.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/renesas/m3885x/superio.c b/src/superio/renesas/m3885x/superio.c
index b200855abd..522d64796a 100644
--- a/src/superio/renesas/m3885x/superio.c
+++ b/src/superio/renesas/m3885x/superio.c
@@ -17,7 +17,6 @@
#include <device/pnp.h>
#include <console/console.h>
#include <device/smbus.h>
-#include <assert.h>
#include <stdlib.h>
#include <pc80/keyboard.h>
diff --git a/src/superio/smsc/lpc47n227/early_serial.c b/src/superio/smsc/lpc47n227/early_serial.c
index c02b8506d1..42213b74cc 100644
--- a/src/superio/smsc/lpc47n227/early_serial.c
+++ b/src/superio/smsc/lpc47n227/early_serial.c
@@ -17,7 +17,9 @@
/* Pre-RAM driver for SMSC LPC47N227 Super I/O chip. */
#include <arch/io.h>
+#include <assert.h>
#include <device/pnp_ops.h>
+
#include "lpc47n227.h"
void pnp_enter_conf_state(pnp_devfn_t dev)