diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2020-05-09 22:34:38 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-12 13:17:23 -0400 |
commit | 8ff1d4a9c8e629253e43d9d04eccbfa773f81e83 (patch) | |
tree | 5e31baef75e8d191fd07e6627eed92bbefbc6bb3 /drivers/net/mvpp2.c | |
parent | f4385539f1a6b4def6bf74091a2bc11f574d3bd1 (diff) |
net: rtl8139: Clean up bus_to_phys()/phys_to_bus() macros
These macros depended on the dev variable being declared wherever
they were used. This is wrong and will not work with DM anyway, so
pass only the PCI BFD into these macros, which fixes the dependency
and prepares them for DM support as well.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/mvpp2.c')
0 files changed, 0 insertions, 0 deletions