From: Arend van Spriel Date: Sun, 23 Jun 2013 10:51:21 +0000 (+0200) Subject: cfg80211: fix compilation warning for cfg80211_leave_all() X-Git-Tag: v3.11-rc1~64^2~78^2^2~24^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a33d402610d2d3a422136defe8237f4ddfb69fd9;p=pandora-kernel.git cfg80211: fix compilation warning for cfg80211_leave_all() The following compilation issue popped up moving from v3.10-rc1 to v3.10-rc6 after merging wireless-testing. net/wireless/sysfs.c:86:13: error: 'cfg80211_leave_all' defined but not used [-Werror=unused-function] The function is only called when CONFIG_PM is enabled. Moving the function under CONFIG_PM as well. Signed-off-by: Arend van Spriel Signed-off-by: Johannes Berg --- Reading git-diff-tree failed