From 6902203ce6cfe9173c04e4b71696a07665341914 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 29 Nov 2018 08:41:01 +0100 Subject: mb/google/dragonegg: Don't use device_t Use of device_t is deprecated. Change-Id: Ief858f6612d1c7b4b0c286cf5938f8c29055f1b5 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/29915 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Angel Pons Reviewed-by: Patrick Rudolph --- src/mainboard/google/dragonegg/mainboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/dragonegg') 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; -- cgit v1.2.3