diff options
author | Daniel Halperin | 2011-08-25 23:11:15 -0700 |
---|---|---|
committer | John W. Linville | 2011-08-29 15:30:29 -0400 |
commit | f090fba305658fe6e464e2fbd25fad81957ece26 (patch) | |
tree | e72f8755784611d5da52c5d0bb10f808664bc436 /drivers/net/wireless/iwlwifi/iwl-1000.c | |
parent | 83ed90155f98bd949735c2cc22d832b557a6d7d1 (diff) |
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 <dhalperi@cs.washington.edu>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-1000.c')
0 files changed, 0 insertions, 0 deletions