mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: northbridge/intel/i855: transition away from device_t
Replace the use of the old device_t definition inside northbridge/intel/i855. BUG=None BRANCH=None TEST=None Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17314 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Change-Id: Iae66d1ef838095a560868d9c9ff81f4208f814f1 Reviewed-on: https://chromium-review.googlesource.com/412041 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
fd4db6dfab
commit
6988a2f72c
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ static void print_debug_pci_dev(unsigned dev)
|
|||
|
||||
static inline void print_pci_devices(void)
|
||||
{
|
||||
device_t dev;
|
||||
pci_devfn_t dev;
|
||||
for (dev = PCI_DEV(0, 0, 0);
|
||||
dev <= PCI_DEV(0, 0x1f, 0x7);
|
||||
dev += PCI_DEV(0,0,1)) {
|
||||
|
@ -59,7 +59,7 @@ static void dump_pci_device(unsigned dev)
|
|||
|
||||
static inline void dump_pci_devices(void)
|
||||
{
|
||||
device_t dev;
|
||||
pci_devfn_t dev;
|
||||
for (dev = PCI_DEV(0, 0, 0);
|
||||
dev <= PCI_DEV(0, 0x1f, 0x7);
|
||||
dev += PCI_DEV(0,0,1)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue