commit | e506d405ac7d34d03996c97ac68aa2ac010be64a | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Oct 01 13:59:00 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 01 15:24:00 2014 -0400 |
tree | 7537278bdfcd62e05c9dcc619039dc6effc60dc5 | |
parent | 3c87dcbfb36ce6d3d9087f0163c02ba5690d9a85 [diff] |
net: dsa: Fix build warning for !PM_SLEEP The dsa_switch_suspend() and dsa_switch_resume() functions are only used when PM_SLEEP is enabled, so they need #ifdef CONFIG_PM_SLEEP protection to avoid a compiler warning. Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>