commit | b1d652f606b50ea435825ad61faec32d598436bb | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Sat May 09 22:34:38 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Jun 12 13:17:23 2020 -0400 |
tree | 5e31baef75e8d191fd07e6627eed92bbefbc6bb3 | |
parent | 6826194ffc6dd91d0a6d33375e492fd374529e77 [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>