From: Hauke Mehrtens Date: Thu, 8 Jul 2010 21:13:48 +0000 (+0200) Subject: compat-wireless: fix build problems X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bea12970d6f11be1beb85b915b309207ecf6e68f;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: fix build problems Fix some minor build problems in patch. Signed-off-by: Hauke Mehrtens --- diff --git a/patches/28-pm-qos-params.patch b/patches/28-pm-qos-params.patch index c5f8fd2bbc91..438bdd8afb81 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 }