linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] compat-wireless: fix build of ath5k for CONFIG_PM_SLEEP=n
@ 2010-07-11 20:23 Hauke Mehrtens
  2010-07-12 15:30 ` Luis R. Rodriguez
  0 siblings, 1 reply; 9+ messages in thread
From: Hauke Mehrtens @ 2010-07-11 20:23 UTC (permalink / raw)
  To: lrodriguez; +Cc: linux-wireless, mcgrof, philipp_subx, Hauke Mehrtens

suspend and resume are activated in ath5k if CONFIG_PM_SLEEP is set and
not if just CONFIG_PM is set.

This should fix the problems reported by Philip Prindeville.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 patches/11-dev-pm-ops.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/patches/11-dev-pm-ops.patch b/patches/11-dev-pm-ops.patch
index 3e97ed9..688da84 100644
--- a/patches/11-dev-pm-ops.patch
+++ b/patches/11-dev-pm-ops.patch
@@ -49,7 +49,7 @@ calls on compat code with only slight modifications.
  	.remove		= __devexit_p(ath5k_pci_remove),
 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
  	.driver.pm	= ATH5K_PM_OPS,
-+#elif defined(CONFIG_PM)
++#elif defined(CONFIG_PM_SLEEP)
 +	.suspend        = ath5k_pci_suspend_compat,
 +	.resume         = ath5k_pci_resume_compat,
 +#endif
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-07-14 20:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-11 20:23 [PATCH] compat-wireless: fix build of ath5k for CONFIG_PM_SLEEP=n Hauke Mehrtens
2010-07-12 15:30 ` Luis R. Rodriguez
2010-07-12 19:19   ` Philip A. Prindeville
2010-07-13 21:54     ` Luis R. Rodriguez
2010-07-13 22:44       ` Luis R. Rodriguez
2010-07-14 18:11         ` Philip A. Prindeville
2010-07-14 18:33           ` Luis R. Rodriguez
2010-07-14 19:42             ` Philip A. Prindeville
2010-07-14 20:32               ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).