summaryrefslogtreecommitdiff
path: root/src/mainboard/sunw/ultra40m2/get_bus_conf.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 21:56:55 +0200
committerJonathan A. Kollasch <jakllsch@kollasch.net>2018-05-07 13:20:27 +0000
commit457d3ef2dcb64a9b944c3c7cd5a72fbf0ac509de (patch)
treeab1f139a954fb34f8287beeb9c50fc52046d5efc /src/mainboard/sunw/ultra40m2/get_bus_conf.c
parent1ecec5f979b903f7f789f7e05132061d633f65ea (diff)
downloadcoreboot-457d3ef2dcb64a9b944c3c7cd5a72fbf0ac509de.tar.xz
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/ultra40m2/get_bus_conf.c')
-rw-r--r--src/mainboard/sunw/ultra40m2/get_bus_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/sunw/ultra40m2/get_bus_conf.c b/src/mainboard/sunw/ultra40m2/get_bus_conf.c
index b57f957c60..2a10eeb7a8 100644
--- a/src/mainboard/sunw/ultra40m2/get_bus_conf.c
+++ b/src/mainboard/sunw/ultra40m2/get_bus_conf.c
@@ -67,7 +67,7 @@ static unsigned get_hcid(unsigned i)
unsigned devn = sysconf.hcdn[i] & 0xff;
- device_t dev;
+ struct device *dev;
dev = dev_find_slot(busn, PCI_DEVFN(devn,0));