diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-03-31 15:01:16 +1100 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-04-02 01:07:27 +0200 |
commit | fbdc3ef7d9df3b68efafffa1c2d50352d25dfb60 (patch) | |
tree | 9c02ade6ca17f64f7e3fbd35b6d70f11ceb0707a /src/superio/fintek/f71805f/early_serial.c | |
parent | 905bfb05dc3f6063c396d4665cc95dcde91a8ced (diff) |
superio/fintek/f71805f: Avoid .c includes
Following the same reasoning as commit
d304331 superio/fintek/f81865f: Avoid .c includes
Clean up the early_serial #include directives in mainboard/romstage code.
Change-Id: Ibf743f7a5dd4a424a4513014fc9a896b87ecf3b1
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5434
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/superio/fintek/f71805f/early_serial.c')
-rw-r--r-- | src/superio/fintek/f71805f/early_serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/fintek/f71805f/early_serial.c b/src/superio/fintek/f71805f/early_serial.c index 827f870a37..b823a430e5 100644 --- a/src/superio/fintek/f71805f/early_serial.c +++ b/src/superio/fintek/f71805f/early_serial.c @@ -21,6 +21,7 @@ /* Pre-RAM driver for the Fintek F71805F/FG Super I/O chip. */ #include <arch/io.h> +#include <device/pnp.h> #include "f71805f.h" static void pnp_enter_conf_state(device_t dev) @@ -36,7 +37,7 @@ static void pnp_exit_conf_state(device_t dev) outb(0xaa, port); } -static void f71805f_enable_serial(device_t dev, u16 iobase) +void f71805f_enable_serial(device_t dev, u16 iobase) { pnp_enter_conf_state(dev); pnp_set_logical_device(dev); |