summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/NSC/pc97307/Config.lb1
-rw-r--r--src/superio/NSC/pc97307/superio.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/NSC/pc97307/Config.lb b/src/superio/NSC/pc97307/Config.lb
index eac204154e..94a888e767 100644
--- a/src/superio/NSC/pc97307/Config.lb
+++ b/src/superio/NSC/pc97307/Config.lb
@@ -1 +1,2 @@
+config chip.h
object superio.c
diff --git a/src/superio/NSC/pc97307/superio.c b/src/superio/NSC/pc97307/superio.c
index 100fa146d9..1f7a3b1d98 100644
--- a/src/superio/NSC/pc97307/superio.c
+++ b/src/superio/NSC/pc97307/superio.c
@@ -17,7 +17,7 @@ void sio_enable(struct chip *chip, enum chip_pass pass)
struct superio_NSC_pc97307_config *conf = (struct superio_NSC_pc97307_config *)chip->chip_info;
switch (pass) {
- case CHIP_PRE_CONSOLE:
+ case CONF_PASS_PRE_CONSOLE:
/* Enable Super IO Chip */
pnp_output(0x07, 6); /* LD 6 = UART1 */
pnp_output(0x30, 0); /* Dectivate */