compat-wireless: fix build problems
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 8 Jul 2010 21:13:48 +0000 (23:13 +0200)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 8 Jul 2010 21:29:15 +0000 (14:29 -0700)
Fix some minor build problems in patch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/28-pm-qos-params.patch

index c5f8fd2bbc91014176cf08351c875d2d5cd2076c..438bdd8afb81b3e4603aa1e634d11254440cf706 100644 (file)
@@ -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
  }