net: dsa: ocelot: remove unnecessary pci_bar variables
authorColin Foster <colin.foster@in-advantage.com>
Tue, 7 Dec 2021 17:00:27 +0000 (09:00 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Dec 2021 05:44:49 +0000 (21:44 -0800)
commitc99104840a95db04e5d71b0810d3666aaa5b2798
tree58b65de765628558139b5c73846755bf262764cc
parent3c5290a2dcdbf078c46681445fd5527c1377875f
net: dsa: ocelot: remove unnecessary pci_bar variables

The pci_bar variables for the switch and imdio don't make sense for the
generic felix driver. Moving them to felix_vsc9959 to limit scope and
simplify the felix_info struct.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/ocelot/felix.h
drivers/net/dsa/ocelot/felix_vsc9959.c