diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 20:45:22 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-08 14:22:16 +0000 |
commit | dadfb34c41ba07fd9fca254e714ea3aa584fd37a (patch) | |
tree | 51691368ef6c6f5f3727b15ce9006d5357872f16 | |
parent | 49c30ba0177f4bc232040c156a3743bd8a1c2629 (diff) | |
download | coreboot-dadfb34c41ba07fd9fca254e714ea3aa584fd37a.tar.xz |
mb/iei: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I2e05cfeeae0f1b3a43eab7ee8059dc13cf474022
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26089
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
-rw-r--r-- | src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/iei/kino-780am2-fam10/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/iei/kino-780am2-fam10/mptable.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c b/src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c index 8931d95d7e..18cf0a841e 100644 --- a/src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c +++ b/src/mainboard/iei/kino-780am2-fam10/get_bus_conf.c @@ -57,7 +57,7 @@ static u32 get_bus_conf_done = 0; void get_bus_conf(void) { u32 apicid_base; - device_t dev; + struct device *dev; int i; if (get_bus_conf_done == 1) diff --git a/src/mainboard/iei/kino-780am2-fam10/mainboard.c b/src/mainboard/iei/kino-780am2-fam10/mainboard.c index ebb0e20adb..c94a691f0f 100644 --- a/src/mainboard/iei/kino-780am2-fam10/mainboard.c +++ b/src/mainboard/iei/kino-780am2-fam10/mainboard.c @@ -49,7 +49,7 @@ u8 is_dev3_present(void) * enable the dedicated function in kino board. * This function called early than rs780_enable. *************************************************/ -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { printk(BIOS_INFO, "Mainboard Kino Enable. dev=0x%p\n", dev); diff --git a/src/mainboard/iei/kino-780am2-fam10/mptable.c b/src/mainboard/iei/kino-780am2-fam10/mptable.c index 3f9d7c7f94..379f04aef6 100644 --- a/src/mainboard/iei/kino-780am2-fam10/mptable.c +++ b/src/mainboard/iei/kino-780am2-fam10/mptable.c @@ -46,7 +46,7 @@ static void *smp_write_config_table(void *v) /* I/O APICs: APIC ID Version State Address */ { - device_t dev; + struct device *dev; u32 dword; u8 byte; |