net: rtl8139: Clean up bus_to_phys()/phys_to_bus() macros
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 9 May 2020 20:34:38 +0000 (22:34 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2020 17:17:23 +0000 (13:17 -0400)
commit8ff1d4a9c8e629253e43d9d04eccbfa773f81e83
tree5e31baef75e8d191fd07e6627eed92bbefbc6bb3
parentf4385539f1a6b4def6bf74091a2bc11f574d3bd1
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>
drivers/net/rtl8139.c