Fix some minor build problems in patch. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- patches/28-pm-qos-params.patch | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/28-pm-qos-params.patch b/patches/28-pm-qos-params.patch index c5f8fd2..438bdd8 100644 --- a/patches/28-pm-qos-params.patch +++ b/patches/28-pm-qos-params.patch @@ -47,9 +47,9 @@ little wierd. spin_unlock_irqrestore(&priv->low_lock, flags); +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) -+ pm_qos_update_request(ipw2100_pm_qos_req, PM_QOS_DEFAULT_VALUE); -+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) pm_qos_update_request(&ipw2100_pm_qos_req, PM_QOS_DEFAULT_VALUE); ++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) ++ pm_qos_update_request(ipw2100_pm_qos_req, PM_QOS_DEFAULT_VALUE); +#else + pm_qos_update_requirement(PM_QOS_CPU_DMA_LATENCY, "ipw2100", + PM_QOS_DEFAULT_VALUE); @@ -83,7 +83,7 @@ little wierd. +#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)) + pm_qos_remove_request(ipw2100_pm_qos_req); +#else -+ pm_qos_remove_requirement(PM_QOS_CPU_DMA_LATENCY, "ipw2100") ++ pm_qos_remove_requirement(PM_QOS_CPU_DMA_LATENCY, "ipw2100"); +#endif } -- 1.7.0.4 -- 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