Search Linux Wireless

Fix compat-wireless build on 2.6.37

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Index: compat-wireless-2011-08-27-p/include/linux/compat-2.6.38.h
===================================================================
--- compat-wireless-2011-08-27-p.orig/include/linux/compat-2.6.38.h
+++ compat-wireless-2011-08-27-p/include/linux/compat-2.6.38.h
@@ -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) */
--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux