diff options
Diffstat (limited to 'src/superio/smsc/lpc47b397/early_serial.c')
-rw-r--r-- | src/superio/smsc/lpc47b397/early_serial.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/superio/smsc/lpc47b397/early_serial.c b/src/superio/smsc/lpc47b397/early_serial.c index 953cd4bbb1..047145e7f3 100644 --- a/src/superio/smsc/lpc47b397/early_serial.c +++ b/src/superio/smsc/lpc47b397/early_serial.c @@ -21,6 +21,8 @@ */ #include <arch/io.h> +#include <device/pnp.h> +#include <stdint.h> #include "lpc47b397.h" static void pnp_enter_conf_state(pnp_devfn_t dev) @@ -35,7 +37,7 @@ static void pnp_exit_conf_state(pnp_devfn_t dev) outb(0xaa, port); } -static void lpc47b397_enable_serial(pnp_devfn_t dev, u16 iobase) +void lpc47b397_enable_serial(pnp_devfn_t dev, u16 iobase) { pnp_enter_conf_state(dev); pnp_set_logical_device(dev); |