]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Move setup function at the far end
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 10 Jun 2016 00:42:06 +0000 (17:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:12:48 +0000 (22:12 -0700)
commit5e2d5486f0f10825f330c8e039083d7492af5049
tree084544246c4fb58ff55e95435485cfa7ad23ecf5
parentd99502c69478ae6e1a23be4ef2bf10625af29d88
net: dsa: bcm_sf2: Move setup function at the far end

Re-order the bcm_sf2_sw_setup() function so that it is at the far end of
the driver to avoid any kind of forward declarations.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c