diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-03-05 12:35:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-06 00:18:20 -0500 |
commit | df197195a5248164df0709fbadc61133897281f5 (patch) | |
tree | b1a5a3f8088ac6120af7e40815754849811a30ea /mm | |
parent | b324c07ac4771a6ac8f57a3e1897e1b36b0a9ff0 (diff) | |
download | op-kernel-dev-df197195a5248164df0709fbadc61133897281f5.zip op-kernel-dev-df197195a5248164df0709fbadc61133897281f5.tar.gz |
net: dsa: split dsa_switch_setup into two functions
Split the part of dsa_switch_setup() which is responsible for allocating
and initializing a 'struct dsa_switch' and the part which is doing a
given switch device setup and slave network device creation.
This is a preliminary change to allow a separate caller of
dsa_switch_setup_one() which may have externally initialized the
dsa_switch structure, outside of dsa_switch_setup().
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions