summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/kblrvp
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 20:46:54 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 14:18:52 +0000
commit4182c80286e913dc9d498b31652bacbb0cd43b40 (patch)
tree1a36aa324d656663da4c23545fab308bcca56a80 /src/mainboard/intel/kblrvp
parentf5f1b383b1319c515338e82857461d2ab4608c1d (diff)
downloadcoreboot-4182c80286e913dc9d498b31652bacbb0cd43b40.tar.xz
mb/intel: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Ie2c466a280d18979d5f9ca182793ed43431d2010 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26090 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard/intel/kblrvp')
-rw-r--r--src/mainboard/intel/kblrvp/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/intel/kblrvp/mainboard.c b/src/mainboard/intel/kblrvp/mainboard.c
index 652af732de..8cbe264df9 100644
--- a/src/mainboard/intel/kblrvp/mainboard.c
+++ b/src/mainboard/intel/kblrvp/mainboard.c
@@ -26,7 +26,7 @@
#include "ec.h"
#include <variant/gpio.h>
-static void mainboard_init(device_t dev)
+static void mainboard_init(struct device *dev)
{
if (IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC))
mainboard_ec_init();
@@ -36,7 +36,7 @@ static void mainboard_init(device_t dev)
* mainboard_enable is executed as first thing after
* enumerate_buses().
*/
-static void mainboard_enable(device_t dev)
+static void mainboard_enable(struct device *dev)
{
dev->ops->init = mainboard_init;
dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator;