summaryrefslogtreecommitdiff
path: root/src/superio/fintek/f71889/early_serial.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-03-31 15:14:14 +1100
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-04-02 01:08:19 +0200
commitb5a49ad9d782698f1a845953729eb489456d803d (patch)
tree696bbd8e6e1dd2db957ee334f3ad3e2f9ff2d09e /src/superio/fintek/f71889/early_serial.c
parent880e5248dc625f00fe3bc83d13b88730020d577a (diff)
superio/fintek/f71889: 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: Id8a1a2e8c87add636af1506598c2669d72dc3238 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5437 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/superio/fintek/f71889/early_serial.c')
-rw-r--r--src/superio/fintek/f71889/early_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/fintek/f71889/early_serial.c b/src/superio/fintek/f71889/early_serial.c
index 9623cbd2a3..5e11474dd6 100644
--- a/src/superio/fintek/f71889/early_serial.c
+++ b/src/superio/fintek/f71889/early_serial.c
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <stdint.h>
#include <arch/io.h>
+#include <device/pnp.h>
#include "f71889.h"
static void pnp_enter_conf_state(device_t dev)
@@ -35,7 +35,7 @@ static void pnp_exit_conf_state(device_t dev)
outb(0xaa, port);
}
-static void f71889_enable_serial(device_t dev, u16 iobase)
+void f71889_enable_serial(device_t dev, u16 iobase)
{
pnp_enter_conf_state(dev);
pnp_set_logical_device(dev);