diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-11-29 08:41:01 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-03 13:01:29 +0000 |
commit | 6902203ce6cfe9173c04e4b71696a07665341914 (patch) | |
tree | 16c819e2b478b7bee9e7574190c79d6992db54ac | |
parent | 3b552759b8bb2387b0b43cb33b12981a5071ea7f (diff) | |
download | coreboot-6902203ce6cfe9173c04e4b71696a07665341914.tar.gz coreboot-6902203ce6cfe9173c04e4b71696a07665341914.tar.bz2 coreboot-6902203ce6cfe9173c04e4b71696a07665341914.zip |
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>
-rw-r--r-- | src/mainboard/google/dragonegg/mainboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/dragonegg/mainboard.c b/src/mainboard/google/dragonegg/mainboard.c index 3e8fd9f904d9..c4df94b1f5bd 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; |