diff options
| author | Florian Fainelli <[email protected]> | 2015-03-05 20:35:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-06 05:18:20 +0000 |
| commit | df197195a5248164df0709fbadc61133897281f5 (patch) | |
| tree | b1a5a3f8088ac6120af7e40815754849811a30ea /net/switchdev/switchdev.c | |
| parent | net: dsa: allow deferred probing (diff) | |
| download | kernel-df197195a5248164df0709fbadc61133897281f5.tar.gz kernel-df197195a5248164df0709fbadc61133897281f5.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
