summaryrefslogtreecommitdiff
path: root/drivers/net/pch_gbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pch_gbe.c')
-rw-r--r--drivers/net/pch_gbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c
index dfc0100..1b4dd56 100644
--- a/drivers/net/pch_gbe.c
+++ b/drivers/net/pch_gbe.c
@@ -424,7 +424,7 @@ int pch_gbe_probe(struct udevice *dev)
pci_dev_t devno;
u32 iobase;
- devno = pci_get_bdf(dev);
+ devno = dm_pci_get_bdf(dev);
/*
* The priv structure contains the descriptors and frame buffers which