Search Linux Wireless

[PATCH] compat-wireless: pm_qos_request_list was renamed to pm_qos_request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the following commit in linux-next pm_qos_request_list was renamed
to pm_qos_request:
commit b10ac0c24e4c618a99262ad47a1b0176f152883d
Author: Jean Pihet <j-pihet@xxxxxx>
Date:   Thu Aug 18 10:32:02 2011 +0200

    PM QoS: Minor clean-ups

Backporting it with a #define in compat did not worked as there is also
a function called pm_qos_request() and its name did not changed.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 patches/43-rename_pm_qos_request.patch |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 patches/43-rename_pm_qos_request.patch

diff --git a/patches/43-rename_pm_qos_request.patch b/patches/43-rename_pm_qos_request.patch
new file mode 100644
index 0000000..fce4337
--- /dev/null
+++ b/patches/43-rename_pm_qos_request.patch
@@ -0,0 +1,14 @@
+--- a/drivers/net/wireless/ipw2x00/ipw2100.c
++++ b/drivers/net/wireless/ipw2x00/ipw2100.c
+@@ -174,7 +174,11 @@ that only one external action is invoked
+ #define DRV_DESCRIPTION	"Intel(R) PRO/Wireless 2100 Network Driver"
+ #define DRV_COPYRIGHT	"Copyright(c) 2003-2006 Intel Corporation"
+ 
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0))
++static struct pm_qos_request_list ipw2100_pm_qos_req;
++#else
+ static struct pm_qos_request ipw2100_pm_qos_req;
++#endif
+ 
+ /* Debugging stuff */
+ #ifdef CONFIG_IPW2100_DEBUG
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux