diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 20:46:54 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-08 14:18:52 +0000 |
commit | 4182c80286e913dc9d498b31652bacbb0cd43b40 (patch) | |
tree | 1a36aa324d656663da4c23545fab308bcca56a80 /src/mainboard/intel/strago | |
parent | f5f1b383b1319c515338e82857461d2ab4608c1d (diff) |
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/strago')
-rw-r--r-- | src/mainboard/intel/strago/mainboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/intel/strago/mainboard.c b/src/mainboard/intel/strago/mainboard.c index 71ba62b13e..21a57cbc39 100644 --- a/src/mainboard/intel/strago/mainboard.c +++ b/src/mainboard/intel/strago/mainboard.c @@ -21,7 +21,7 @@ #include <vendorcode/google/chromeos/chromeos.h> #include "ec.h" -static void mainboard_init(device_t dev) +static void mainboard_init(struct device *dev) { mainboard_ec_init(); } @@ -30,7 +30,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; |