pm_qos.h was renamed to pm_qos_params.h in: commit 1eee4691c3f058d1cf9757947ad9d9e03145a12c Author: Jean Pihet <j-pihet@xxxxxx> Date: Thu Aug 18 10:31:55 2011 +0200 PM QoS: Move and rename the implementation files For older kernel versions the old header file should be used instead of the new one. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- include/linux/pm_qos.h | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) create mode 100644 include/linux/pm_qos.h diff --git a/include/linux/pm_qos.h b/include/linux/pm_qos.h new file mode 100644 index 0000000..c58c1c1 --- /dev/null +++ b/include/linux/pm_qos.h @@ -0,0 +1,12 @@ +#ifndef _COMPAT_LINUX_PM_QOS_H +#define _COMPAT_LINUX_PM_QOS_H 1 + +#include <linux/version.h> + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) +#include_next <linux/pm_qos.h> +#else +#include <linux/pm_qos_params.h> +#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) */ + +#endif /* _COMPAT_LINUX_PM_QOS_H */ -- 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