summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dragonegg
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-29 08:41:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-12-03 13:01:29 +0000
commit6902203ce6cfe9173c04e4b71696a07665341914 (patch)
tree16c819e2b478b7bee9e7574190c79d6992db54ac /src/mainboard/google/dragonegg
parent3b552759b8bb2387b0b43cb33b12981a5071ea7f (diff)
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>
Diffstat (limited to 'src/mainboard/google/dragonegg')
-rw-r--r--src/mainboard/google/dragonegg/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/dragonegg/mainboard.c b/src/mainboard/google/dragonegg/mainboard.c
index 3e8fd9f904..c4df94b1f5 100644
--- a/src/mainboard/google/dragonegg/mainboard.c
+++ b/src/mainboard/google/dragonegg/mainboard.c
@@ -26,7 +26,7 @@ static void mainboard_init(void *chip_info)
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->acpi_inject_dsdt_generator = chromeos_dsdt_generator;