diff options
author | Tobias Doerffel <tobias.doerffel@gmail.com> | 2010-05-30 02:02:18 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-04 23:50:52 +0400 |
commit | e307139d7ad532761cdbf2a665f3c53c509a2d0e (patch) | |
tree | 72165d2916700793d555666473ed01b79b6d9959 /net | |
parent | 8b9a4e6e442756f670ef507f09bbc6c11dc0fca6 (diff) | |
download | linux-e307139d7ad532761cdbf2a665f3c53c509a2d0e.tar.xz |
ath5k: depend on CONFIG_PM_SLEEP for suspend/resume functions
When building a kernel with CONFIG_PM=y but neither suspend nor
hibernate support, the compiler complains about the static functions
ath5k_pci_suspend() and ath5k_pci_resume() not being used:
drivers/net/wireless/ath/ath5k/base.c:713:12: warning: ‘ath5k_pci_suspend’ defined but not used
drivers/net/wireless/ath/ath5k/base.c:722:12: warning: ‘ath5k_pci_resume’ defined but not used
Depending on CONFIG_PM_SLEEP rather than CONFIG_PM fixes the issue.
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions