diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-07-08 06:50:41 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-07-25 11:24:02 +0200 |
commit | 8a5c6f158d68dd30bec672b141bf882296bff7e3 (patch) | |
tree | 17a12466abddb92de54161660f8ba5e3b1e580ba /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | |
parent | fcd6217813661c07f707e804a46886c56d48d0e8 (diff) |
net: dc2114x: Pass PCI BDF into phys_to_bus()
This is a trick in preparation for adding DM support. By passing in
the PCI BDF into the phys_to_bus() macros and calling that dev, we
can substitute dev with udevice when DM support lands and do minor
adjustment to the macros to support both DM and non-DM operation.
No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c')
0 files changed, 0 insertions, 0 deletions