diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 21:50:26 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-09 13:16:25 +0000 |
commit | 0a0632590768a6e84f6633e559d02e40e6ee1caf (patch) | |
tree | b0de1b8277d7df3c4486e35b900a577539ab0fc7 /src/mainboard/technexion/tim5690/tn_post_code.c | |
parent | 477a516ec3e97bd419d41f6b432eff19b722b9f2 (diff) |
mb/technexion: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I6efd1675b1124b200b5ff16fdef91c10b77b69d1
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26094
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/technexion/tim5690/tn_post_code.c')
-rw-r--r-- | src/mainboard/technexion/tim5690/tn_post_code.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/technexion/tim5690/tn_post_code.c b/src/mainboard/technexion/tim5690/tn_post_code.c index ad2e9d4826..607c44664a 100644 --- a/src/mainboard/technexion/tim5690/tn_post_code.c +++ b/src/mainboard/technexion/tim5690/tn_post_code.c @@ -135,7 +135,7 @@ void technexion_post_code(uint8_t udata8) pci_devfn_t dev = 0; dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SB600_SM), 0); #else - device_t dev = 0; + struct device *dev = NULL; dev = dev_find_device(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SB600_SM, 0); #endif |