diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 21:56:55 +0200 |
---|---|---|
committer | Jonathan A. Kollasch <jakllsch@kollasch.net> | 2018-05-07 13:20:27 +0000 |
commit | 457d3ef2dcb64a9b944c3c7cd5a72fbf0ac509de (patch) | |
tree | ab1f139a954fb34f8287beeb9c50fc52046d5efc /src/mainboard/sunw/ultra40 | |
parent | 1ecec5f979b903f7f789f7e05132061d633f65ea (diff) |
mb/sunw: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I348a7ad368cf5b5a7837c45038a1659a581c518f
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26096
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Diffstat (limited to 'src/mainboard/sunw/ultra40')
-rw-r--r-- | src/mainboard/sunw/ultra40/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/sunw/ultra40/mptable.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/sunw/ultra40/get_bus_conf.c b/src/mainboard/sunw/ultra40/get_bus_conf.c index 4ed57467b4..e7096f31bf 100644 --- a/src/mainboard/sunw/ultra40/get_bus_conf.c +++ b/src/mainboard/sunw/ultra40/get_bus_conf.c @@ -65,7 +65,7 @@ void get_bus_conf(void) unsigned apicid_base; - device_t dev; + struct device *dev; if (get_bus_conf_done == 1) return; //do it only once diff --git a/src/mainboard/sunw/ultra40/mptable.c b/src/mainboard/sunw/ultra40/mptable.c index 5e9c90be9a..b66b91d012 100644 --- a/src/mainboard/sunw/ultra40/mptable.c +++ b/src/mainboard/sunw/ultra40/mptable.c @@ -49,7 +49,7 @@ static void *smp_write_config_table(void *v) /*I/O APICs: APIC ID Version State Address*/ { - device_t dev; + struct device *dev; struct resource *res; uint32_t dword; |