UPSTREAM: mainboard/via/epia-cn: transition away from device_t
Replace the use of the old device_t definition inside mainboard/via/epia-cn. BUG=None BRANCH=None TEST=None Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17310 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Change-Id: I1b05abcedc427e4876e1fdab85298015308a3d17 Reviewed-on: https://chromium-review.googlesource.com/411297 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
0e94363798
commit
ef7e72fe7d
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ static inline int spd_read_byte(unsigned device, unsigned address)
|
|||
|
||||
static void enable_mainboard_devices(void)
|
||||
{
|
||||
device_t dev;
|
||||
pci_devfn_t dev;
|
||||
|
||||
dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_VIA,
|
||||
PCI_DEVICE_ID_VIA_VT8237R_LPC), 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue