]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Move dsa_switch_{suspend,resume} out of legacy.c
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 2 Jun 2017 02:53:04 +0000 (19:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 14:31:16 +0000 (10:31 -0400)
commit63d7cb3a958f6c9c9b2b899f3ae07e2c1bc9f3ef
tree42a940b27498dc275cce2fa15908f306d81dc873
parent2bcca2d8378ab4cb43f7bac635a71a42347e05e3
net: dsa: Move dsa_switch_{suspend,resume} out of legacy.c

dsa_switch_suspend() and dsa_switch_resume() are functions that belong in
net/dsa/dsa.c and are not part of the legacy platform support code.

Fixes: 8615a3e57193 ("net: dsa: isolate legacy code")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c
net/dsa/legacy.c