summaryrefslogtreecommitdiff
path: root/src/superio/winbond
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/winbond')
-rw-r--r--src/superio/winbond/w83697hf/early_serial.c2
-rw-r--r--src/superio/winbond/w83697hf/w83697hf.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/superio/winbond/w83697hf/early_serial.c b/src/superio/winbond/w83697hf/early_serial.c
index 7731804699..2825eebd23 100644
--- a/src/superio/winbond/w83697hf/early_serial.c
+++ b/src/superio/winbond/w83697hf/early_serial.c
@@ -35,7 +35,7 @@ static void pnp_exit_ext_func_mode(device_t dev)
outb(0xaa, port);
}
-static void w83697hf_set_clksel_48(device_t dev)
+void w83697hf_set_clksel_48(device_t dev)
{
u8 reg8;
diff --git a/src/superio/winbond/w83697hf/w83697hf.h b/src/superio/winbond/w83697hf/w83697hf.h
index 0eeb37c9c9..6488dd3925 100644
--- a/src/superio/winbond/w83697hf/w83697hf.h
+++ b/src/superio/winbond/w83697hf/w83697hf.h
@@ -32,4 +32,8 @@
#define W83697HF_ACPI 10 /* ACPI */
#define W83697HF_HWM 11 /* Hardware monitor */
+#ifndef __ROMCC__
+void w83697hf_set_clksel_48(device_t);
+#endif
+
#endif