diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-16 11:36:28 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-05-24 06:49:03 +0000 |
commit | 5eec229d9686b78abca45415f023283f9e16004c (patch) | |
tree | d95907fbc5c49de5658057c38f10917133495abf | |
parent | ab3a24ba2ea2e57193fd39bb35c6bf68c297a6b2 (diff) |
mb/intel/glkrvp: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I791a69aeca9b44daabc9a3e5fb9ac92e6b22f3e5
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26313
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r-- | src/mainboard/intel/glkrvp/mainboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/intel/glkrvp/mainboard.c b/src/mainboard/intel/glkrvp/mainboard.c index ac5e973168..ddb805adbe 100644 --- a/src/mainboard/intel/glkrvp/mainboard.c +++ b/src/mainboard/intel/glkrvp/mainboard.c @@ -42,7 +42,7 @@ static void mainboard_init(void *chip_info) } static unsigned long mainboard_write_acpi_tables( - device_t device, unsigned long current, acpi_rsdp_t *rsdp) + struct device *device, unsigned long current, acpi_rsdp_t *rsdp) { uintptr_t start_addr; uintptr_t end_addr; @@ -65,7 +65,7 @@ static unsigned long mainboard_write_acpi_tables( return end_addr; } -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { dev->ops->write_acpi_tables = mainboard_write_acpi_tables; dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator; |