5a34eb9339b186cb0cdfb8dba11ebd6135e4b9c1
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 040-fix_pm_qos_compat.patch
1 --- a/include/linux/pm_qos_params.h
2 +++ b/include/linux/pm_qos_params.h
3 @@ -1,5 +1,8 @@
4 #include <linux/version.h>
5
6 +#ifndef __COMPAT_LINUX_PM_QOS_PARAMS_H
7 +#define __COMPAT_LINUX_PM_QOS_PARAMS_H
8 +
9 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25))
10 #include_next <linux/pm_qos_params.h>
11 #else
12 @@ -30,3 +33,4 @@ int pm_qos_add_notifier(int qos, struct
13 int pm_qos_remove_notifier(int qos, struct notifier_block *notifier);
14 #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) */
15
16 +#endif