]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e66a72d937452add87972bc332b6b03ba877d2d
tree58b65de765628558139b5c73846755bf262764cc
parent97ecdfd403bb21d4a8f011b86164d7393ffd6acc
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