From: Hauke Mehrtens Date: Tue, 23 Aug 2011 11:38:28 +0000 (+0200) Subject: compat: pm_qos_params.h was renamed to pm_qos.h X-Git-Tag: compat-2011-09-28~11 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=9f860356c6e0f74d84213a9b7cd45a5889f1147f;p=~emulex%2Ffor-vlad%2Fcompat.git compat: pm_qos_params.h was renamed to pm_qos.h pm_qos.h was renamed to pm_qos_params.h in: commit 1eee4691c3f058d1cf9757947ad9d9e03145a12c Author: Jean Pihet 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 --- 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 + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) +#include_next +#else +#include +#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) */ + +#endif /* _COMPAT_LINUX_PM_QOS_H */