From: Daniel Halperin Date: Fri, 26 Aug 2011 06:11:15 +0000 (-0700) Subject: iwlagn: fix compile warnings when CONFIG_PM_SLEEP is not set X-Git-Tag: v3.2-rc1~129^2~287^2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f090fba305658fe6e464e2fbd25fad81957ece26;p=pandora-kernel.git iwlagn: fix compile warnings when CONFIG_PM_SLEEP is not set CC [M] drivers/net/wireless/iwlwifi/iwl-pci.o drivers/net/wireless/iwlwifi/iwl-pci.c:506: warning: ‘iwl_pci_suspend’ defined but not used drivers/net/wireless/iwlwifi/iwl-pci.c:519: warning: ‘iwl_pci_resume’ defined but not used These are only used if CONFIG_PM_SLEEP is enabled. CONFIG_PM depends (CONFIG_PM_SLEEP || CONFIG_PM_RUNTIME), so it can be set without CONFIG_PM_SLEEP selected. Signed-off-by: Daniel Halperin Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed