]> git.sur5r.net Git - u-boot/commit
dm: pci: Add a dm_ prefix to pci_get_bdf()
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2015 20:17:47 +0000 (13:17 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit21ccce1ba52253d776ecd7003e14910eed93160b
treeebc6df47b0b7b7928d83def29117deb2d767be46
parent2b81e8a3c86697180aa31193345a98af18a733f2
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>
drivers/net/designware.c
drivers/net/e1000.c
drivers/net/pch_gbe.c
drivers/net/rtl8169.c
drivers/pci/pci-uclass.c
drivers/pci/pci_compat.c
drivers/usb/host/ehci-pci.c
include/pci.h