From e506d405ac7d34d03996c97ac68aa2ac010be64a Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Wed, 1 Oct 2014 13:59:00 +0200 Subject: [PATCH] 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 Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-format-patch failed