summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x220
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-05 09:11:32 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 14:17:48 +0000
commit64b759e2011e6e5a090e9442da3779c344734549 (patch)
treea72eb2423ce253da274592edc837d712d3099e03 /src/mainboard/lenovo/x220
parenta29d234b2477f8e5b74322551d2c21ff1a759de3 (diff)
mb/lenovo: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ic044fc074c43db683fcd85ce92a36a8c5a464a67 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26101 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard/lenovo/x220')
-rw-r--r--src/mainboard/lenovo/x220/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x220/mainboard.c b/src/mainboard/lenovo/x220/mainboard.c
index 0114e9be2a..29c15e0f5a 100644
--- a/src/mainboard/lenovo/x220/mainboard.c
+++ b/src/mainboard/lenovo/x220/mainboard.c
@@ -22,7 +22,7 @@
// mainboard_enable is executed as first thing after
// enumerate_buses().
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS,
GMA_INT15_PANEL_FIT_DEFAULT,