aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/pch_gbe.c
diff options
context:
space:
mode:
authorSimon Glass2015-11-29 13:17:47 -0700
committerSimon Glass2016-01-12 10:19:09 -0700
commit21ccce1ba52253d776ecd7003e14910eed93160b (patch)
treeebc6df47b0b7b7928d83def29117deb2d767be46 /drivers/net/pch_gbe.c
parent2b81e8a3c86697180aa31193345a98af18a733f2 (diff)
dm: pci: Add a dm_ prefix to pci_get_bdf()
Most driver model PCI functions have a dm_ prefix. At some point, when the old code is converted to driver model and the old functions are removed, we will drop that prefix. For consistency, we should use the dm_ prefix for all driver model functions. Update pci_get_bdf() accordingly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
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 dfc01000fc4..1b4dd56d52b 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