linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ozan Çağlayan" <ozan@pardus.org.tr>
To: linux-wireless@vger.kernel.org
Subject: Fix compat-wireless build on 2.6.37
Date: Tue, 20 Sep 2011 08:43:08 +0300	[thread overview]
Message-ID: <4E7827EC.2030302@pardus.org.tr> (raw)

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) */

             reply	other threads:[~2011-09-20  5:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20  5:43 Ozan Çağlayan [this message]
2011-09-21 20:04 ` Fix compat-wireless build on 2.6.37 Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E7827EC.2030302@pardus.org.tr \
    --to=ozan@pardus.org.tr \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).