summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions
diff options
context:
space:
mode:
Diffstat (limited to 'patches/collateral-evolutions')
-rw-r--r--patches/collateral-evolutions/network/11-dev-pm-ops.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/patches/collateral-evolutions/network/11-dev-pm-ops.patch b/patches/collateral-evolutions/network/11-dev-pm-ops.patch
index acae45e6..4afd3084 100644
--- a/patches/collateral-evolutions/network/11-dev-pm-ops.patch
+++ b/patches/collateral-evolutions/network/11-dev-pm-ops.patch
@@ -25,7 +25,7 @@ calls on compat code with only slight modifications.
.remove = bcma_host_pci_remove,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
.driver.pm = BCMA_PM_OPS,
-+#elif defined(CONFIG_PM)
++#elif defined(CONFIG_PM_SLEEP)
+ .suspend = bcma_host_pci_suspend_compat,
+ .resume = bcma_host_pci_resume_compat,
+#endif
@@ -125,7 +125,7 @@ calls on compat code with only slight modifications.
.remove = ath_pci_remove,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
.driver.pm = ATH9K_PM_OPS,
-+#elif defined(CONFIG_PM)
++#elif defined(CONFIG_PM_SLEEP)
+ .suspend = ath_pci_suspend_compat,
+ .resume = ath_pci_resume_compat,
+#endif
@@ -217,7 +217,7 @@ calls on compat code with only slight modifications.
.remove = iwl_pci_remove,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
.driver.pm = IWL_PM_OPS,
-+#elif defined(CONFIG_PM)
++#elif defined(CONFIG_PM_SLEEP)
+ .suspend = iwl_pci_suspend_compat,
+ .resume = iwl_pci_resume_compat,
+#endif
@@ -270,7 +270,7 @@ calls on compat code with only slight modifications.
.remove = rtl_pci_disconnect,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
.driver.pm = &rtlwifi_pm_ops,
-+#elif defined(CONFIG_PM)
++#elif defined(CONFIG_PM_SLEEP)
+ .suspend = rtl_pci_suspend_compat,
+ .resume = rtl_pci_resume_compat,
+#endif
@@ -295,7 +295,7 @@ calls on compat code with only slight modifications.
.remove = rtl_pci_disconnect,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
.driver.pm = &rtlwifi_pm_ops,
-+#elif defined(CONFIG_PM)
++#elif defined(CONFIG_PM_SLEEP)
+ .suspend = rtl_pci_suspend_compat,
+ .resume = rtl_pci_resume_compat,
+#endif
@@ -320,7 +320,7 @@ calls on compat code with only slight modifications.
.remove = rtl_pci_disconnect,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
.driver.pm = &rtlwifi_pm_ops,
-+#elif defined(CONFIG_PM)
++#elif defined(CONFIG_PM_SLEEP)
+ .suspend = rtl_pci_suspend_compat,
+ .resume = rtl_pci_resume_compat,
+#endif
@@ -345,7 +345,7 @@ calls on compat code with only slight modifications.
.remove = rtl_pci_disconnect,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
.driver.pm = &rtlwifi_pm_ops,
-+#elif defined(CONFIG_PM)
++#elif defined(CONFIG_PM_SLEEP)
+ .suspend = rtl_pci_suspend_compat,
+ .resume = rtl_pci_resume_compat,
+#endif
@@ -370,7 +370,7 @@ calls on compat code with only slight modifications.
.remove = p54p_remove,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
.driver.pm = P54P_PM_OPS,
-+#elif defined(CONFIG_PM)
++#elif defined(CONFIG_PM_SLEEP)
+ .suspend = p54p_suspend_compat,
+ .resume = p54p_resume_compat,
+#endif