summaryrefslogtreecommitdiff
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-03-05 12:35:06 -0800
committerDavid S. Miller <davem@davemloft.net>2015-03-06 00:18:20 -0500
commitdf197195a5248164df0709fbadc61133897281f5 (patch)
treeb1a5a3f8088ac6120af7e40815754849811a30ea /include/net/dsa.h
parentb324c07ac4771a6ac8f57a3e1897e1b36b0a9ff0 (diff)
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 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions