summaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47n227
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-03 08:45:19 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-03-04 15:58:55 +0000
commit3855c01e0a9d9e9787652479576e882bcda9fde5 (patch)
tree940945c52e59fb334b41960ab17513f240e95884 /src/superio/smsc/lpc47n227
parent369559379453f9bf0e917635b642e6f70d55a93e (diff)
downloadcoreboot-3855c01e0a9d9e9787652479576e882bcda9fde5.tar.xz
device/pnp: Add header files for PNP ops
Change-Id: Ifda495420cfb121ad32920bb9f1cbdeef41f6d3a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31698 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/smsc/lpc47n227')
-rw-r--r--src/superio/smsc/lpc47n227/early_serial.c1
-rw-r--r--src/superio/smsc/lpc47n227/lpc47n227.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/superio/smsc/lpc47n227/early_serial.c b/src/superio/smsc/lpc47n227/early_serial.c
index 4ae1fb76af..c02b8506d1 100644
--- a/src/superio/smsc/lpc47n227/early_serial.c
+++ b/src/superio/smsc/lpc47n227/early_serial.c
@@ -17,6 +17,7 @@
/* Pre-RAM driver for SMSC LPC47N227 Super I/O chip. */
#include <arch/io.h>
+#include <device/pnp_ops.h>
#include "lpc47n227.h"
void pnp_enter_conf_state(pnp_devfn_t dev)
diff --git a/src/superio/smsc/lpc47n227/lpc47n227.h b/src/superio/smsc/lpc47n227/lpc47n227.h
index d629a67d2d..5e30f65f01 100644
--- a/src/superio/smsc/lpc47n227/lpc47n227.h
+++ b/src/superio/smsc/lpc47n227/lpc47n227.h
@@ -16,6 +16,8 @@
#ifndef SUPERIO_SMSC_LPC47N227_LPC47N227_H
#define SUPERIO_SMSC_LPC47N227_LPC47N227_H
+#include <device/pnp_type.h>
+
/*
* Since the LPC47N227 does not have logical devices but a flat configuration
* space, these are arbitrary, but must match declarations in the mainboard