projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b4aee
)
Fixes a pm patch for ath5k
author
Felix Bitterli
<ic.felix@gmail.com>
Mon, 2 Nov 2009 16:46:04 +0000
(08:46 -0800)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Mon, 2 Nov 2009 16:46:04 +0000
(08:46 -0800)
Signed-off-by: Felix Bitterli <ic.felix@gmail.com>
compat/patches/11-dev-pm-ops.patch
patch
|
blob
|
history
diff --git
a/compat/patches/11-dev-pm-ops.patch
b/compat/patches/11-dev-pm-ops.patch
index d0085533cde843ab0959de551f294d81aa88898f..a1937a9fd479569017471dc435e5353531e9a4d7 100644
(file)
--- a/
compat/patches/11-dev-pm-ops.patch
+++ b/
compat/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,
-+#el
se
++#el
if defined(CONFIG_PM)
+ .suspend = ath5k_pci_suspend_compat,
+ .resume = ath5k_pci_resume_compat,
+#endif