mb/google/dragonegg: Don't use device_t

Use of device_t is deprecated.

Change-Id: Ief858f6612d1c7b4b0c286cf5938f8c29055f1b5
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/29915
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Elyes HAOUAS 2018-11-29 08:41:01 +01:00 committed by Patrick Georgi
parent 3b552759b8
commit 6902203ce6
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ static void mainboard_init(void *chip_info)
mainboard_ec_init(); mainboard_ec_init();
} }
static void mainboard_enable(device_t dev) static void mainboard_enable(struct device *dev)
{ {
dev->ops->write_acpi_tables = NULL; dev->ops->write_acpi_tables = NULL;
dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator; dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator;