aboutsummaryrefslogtreecommitdiff
path: root/src/superio/serverengines/pilot/early_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/serverengines/pilot/early_init.c')
-rw-r--r--src/superio/serverengines/pilot/early_init.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/superio/serverengines/pilot/early_init.c b/src/superio/serverengines/pilot/early_init.c
index 1993c9ef7a..002210f97b 100644
--- a/src/superio/serverengines/pilot/early_init.c
+++ b/src/superio/serverengines/pilot/early_init.c
@@ -23,11 +23,16 @@
#define BLUBB_DEV PNP_DEV(port, 0x04)
+#include <arch/io.h>
+#include <console/console.h>
+#include <device/pnp.h>
+#include "pilot.h"
+
/*
* Logical device 4, 5 and 7 are being deactivated. Logical Device 1 seems to
* be another serial (?), it is also deactivated on the HP machine.
*/
-static void pilot_early_init(device_t dev)
+void pilot_early_init(device_t dev)
{
u16 port = dev >> 8;