summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-23 21:31:52 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-28 23:29:07 +0100
commit75ddbc8371f24b77634943e595e974f302a4c273 (patch)
treeb5c24612f917ce9906e99e625b6369241090b65c
parent054275d2f48495a39faf415b38e121560dfb0c21 (diff)
backports: use correct suspend/resume function for rtl8188ee
Upstream commit: 6bc60d332b7109c99cd5f5d5f8b7791f921289d6 The newly created function ends with _compat. This causes compile warnings and probably runtime problems on kernel < 2.6.29. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--patches/collateral-evolutions/network/11-dev-pm-ops/drivers_net_wireless_rtlwifi_rtl8188ee_sw.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/collateral-evolutions/network/11-dev-pm-ops/drivers_net_wireless_rtlwifi_rtl8188ee_sw.patch b/patches/collateral-evolutions/network/11-dev-pm-ops/drivers_net_wireless_rtlwifi_rtl8188ee_sw.patch
index c377e12f..219654d5 100644
--- a/patches/collateral-evolutions/network/11-dev-pm-ops/drivers_net_wireless_rtlwifi_rtl8188ee_sw.patch
+++ b/patches/collateral-evolutions/network/11-dev-pm-ops/drivers_net_wireless_rtlwifi_rtl8188ee_sw.patch
@@ -17,8 +17,8 @@
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
.driver.pm = &rtlwifi_pm_ops,
+#elif defined(CONFIG_PM_SLEEP)
-+ .suspend = rtl_pci_suspend,
-+ .resume = rtl_pci_resume,
++ .suspend = rtl_pci_suspend_compat,
++ .resume = rtl_pci_resume_compat,
+#endif
};