diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-11-12 16:56:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-11-12 16:56:07 +0000 |
commit | ac8deaa5fe74a40403dc4f06ad03d25aa1f91cea (patch) | |
tree | c705ebd876da66827953b01777ae1989b643425d /package | |
parent | 1c346885afb1d8dad16c48f5e28bf31e2692b0e9 (diff) | |
download | upstream-ac8deaa5fe74a40403dc4f06ad03d25aa1f91cea.tar.gz upstream-ac8deaa5fe74a40403dc4f06ad03d25aa1f91cea.tar.bz2 upstream-ac8deaa5fe74a40403dc4f06ad03d25aa1f91cea.zip |
mac80211: fix compile on linux 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23972 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/mac80211/patches/040-fix_pm_qos_compat.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/mac80211/patches/040-fix_pm_qos_compat.patch b/package/mac80211/patches/040-fix_pm_qos_compat.patch new file mode 100644 index 0000000000..5a34eb9339 --- /dev/null +++ b/package/mac80211/patches/040-fix_pm_qos_compat.patch @@ -0,0 +1,16 @@ +--- a/include/linux/pm_qos_params.h ++++ b/include/linux/pm_qos_params.h +@@ -1,5 +1,8 @@ + #include <linux/version.h> + ++#ifndef __COMPAT_LINUX_PM_QOS_PARAMS_H ++#define __COMPAT_LINUX_PM_QOS_PARAMS_H ++ + #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) + #include_next <linux/pm_qos_params.h> + #else +@@ -30,3 +33,4 @@ int pm_qos_add_notifier(int qos, struct + int pm_qos_remove_notifier(int qos, struct notifier_block *notifier); + #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) */ + ++#endif |