compat: backport pm_qos_request
authorFelix Fietkau <nbd@openwrt.org>
Wed, 10 Nov 2010 23:02:50 +0000 (15:02 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 10 Nov 2010 23:02:50 +0000 (15:02 -0800)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
include/linux/compat-2.6.35.h

index 32fd039184888017cb71e5b263ae00db25dafedb..c4de169366009169bfea05e097e657ac82a77286 100644 (file)
@@ -29,6 +29,8 @@ int hex_to_bin(char ch);
 
 extern loff_t noop_llseek(struct file *file, loff_t offset, int origin);
 
+#define pm_qos_request(_qos) pm_qos_requirement(_qos)
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35)) */
 
 #endif /* LINUX_26_35_COMPAT_H */