Fix compat-wireless build on 2.6.37
Hi,
The following fix should be applied to the compat tree to fix a build error in wl12xx. Since kernel.org is down, I couldn't fetch the compat tree to post a patch with git send-email.
include/linux/compat-2.6.38.h +0 -0
@@ -11,6 +11,10 @@/* rename member in struct mmc_host in include/linux/mmc/host.h */ #define max_segs· max_hw_segs
·
+static inline bool pm_runtime_enabled(struct device *dev) +{
+· return !dev->power.disable_depth;
+}
·
/* Exponentially weighted moving average (EWMA) */
2011/9/19 Ozan Çağlayan <[email protected]>:
Quoted 5 lines
Hi,
The following fix should be applied to the compat tree to fix a build error in wl12xx. Since kernel.org is down, I couldn't fetch the compat tree to post a patch with git send-email.
The git trees for compat and compat-wireless are mirrored on two locations:
https://github.com/mcgrof/
http://git.infradead.org/
Luis