diff options
Diffstat (limited to 'src/superio/winbond/w83627ehg/early_serial.c')
-rw-r--r-- | src/superio/winbond/w83627ehg/early_serial.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/superio/winbond/w83627ehg/early_serial.c b/src/superio/winbond/w83627ehg/early_serial.c index 1a895c6..84eb127 100644 --- a/src/superio/winbond/w83627ehg/early_serial.c +++ b/src/superio/winbond/w83627ehg/early_serial.c @@ -20,16 +20,17 @@ */ #include <arch/io.h> +#include <device/pnp.h> #include "w83627ehg.h" -static void pnp_enter_ext_func_mode(device_t dev) +void pnp_enter_ext_func_mode(device_t dev) { u16 port = dev >> 8; outb(0x87, port); outb(0x87, port); } -static void pnp_exit_ext_func_mode(device_t dev) +void pnp_exit_ext_func_mode(device_t dev) { u16 port = dev >> 8; outb(0xaa, port); |