From: Felix Fietkau Date: Fri, 12 Nov 2010 16:56:07 +0000 (+0000) Subject: mac80211: fix compile on linux 2.6.35 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=41aadece1d92bb8869fc151f3306ee8c35ce5096;p=openwrt%2Fstaging%2Fthess.git mac80211: fix compile on linux 2.6.35 SVN-Revision: 23972 --- 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 + ++#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 + #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