summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t410
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/t410')
-rw-r--r--src/mainboard/lenovo/t410/dock.c2
-rw-r--r--src/mainboard/lenovo/t410/dock.h2
-rw-r--r--src/mainboard/lenovo/t410/mainboard.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/t410/dock.c b/src/mainboard/lenovo/t410/dock.c
index 317fb0513c..1575aa1906 100644
--- a/src/mainboard/lenovo/t410/dock.c
+++ b/src/mainboard/lenovo/t410/dock.c
@@ -22,7 +22,7 @@
#include <ec/lenovo/h8/h8.h>
#include <ec/acpi/ec.h>
-void h8_mainboard_init_dock(void)
+void init_dock(void)
{
if (dock_present()) {
printk(BIOS_DEBUG, "dock is connected\n");
diff --git a/src/mainboard/lenovo/t410/dock.h b/src/mainboard/lenovo/t410/dock.h
index 4cd8c857a8..6a08d81836 100644
--- a/src/mainboard/lenovo/t410/dock.h
+++ b/src/mainboard/lenovo/t410/dock.h
@@ -15,7 +15,7 @@
#ifndef THINKPAD_X201_DOCK_H
#define THINKPAD_X201_DOCK_H
-
+void init_dock(void);
void dock_connect(void);
void dock_disconnect(void);
int dock_present(void);
diff --git a/src/mainboard/lenovo/t410/mainboard.c b/src/mainboard/lenovo/t410/mainboard.c
index 23b68fabc2..8b6a737e0e 100644
--- a/src/mainboard/lenovo/t410/mainboard.c
+++ b/src/mainboard/lenovo/t410/mainboard.c
@@ -19,12 +19,14 @@
#include <device/device.h>
#include <arch/acpi.h>
#include <drivers/intel/gma/int15.h>
+#include "dock.h"
static void mainboard_enable(struct device *dev)
{
install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS,
GMA_INT15_PANEL_FIT_DEFAULT,
GMA_INT15_BOOT_DISPLAY_LFP, 2);
+ init_dock();
}
struct chip_operations mainboard_ops = {