diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 20:46:54 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-08 14:18:52 +0000 |
commit | 4182c80286e913dc9d498b31652bacbb0cd43b40 (patch) | |
tree | 1a36aa324d656663da4c23545fab308bcca56a80 /src/mainboard/intel/kunimitsu/mainboard.c | |
parent | f5f1b383b1319c515338e82857461d2ab4608c1d (diff) |
mb/intel: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Ie2c466a280d18979d5f9ca182793ed43431d2010
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26090
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard/intel/kunimitsu/mainboard.c')
-rw-r--r-- | src/mainboard/intel/kunimitsu/mainboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/intel/kunimitsu/mainboard.c b/src/mainboard/intel/kunimitsu/mainboard.c index cbadc2e08e..c87b565e74 100644 --- a/src/mainboard/intel/kunimitsu/mainboard.c +++ b/src/mainboard/intel/kunimitsu/mainboard.c @@ -29,7 +29,7 @@ static const char *oem_id_maxim = "INTEL"; static const char *oem_table_id_maxim = "SCRDMAX"; -static void mainboard_init(device_t dev) +static void mainboard_init(struct device *dev) { mainboard_ec_init(); } @@ -42,7 +42,7 @@ static uint8_t select_audio_codec(void) } 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; @@ -96,7 +96,7 @@ static unsigned long mainboard_write_acpi_tables( * mainboard_enable is executed as first thing after * enumerate_buses(). */ -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { dev->ops->init = mainboard_init; dev->ops->write_acpi_tables = mainboard_write_acpi_tables; |