netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: coelho@ti.com
Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
	linville@tuxdriver.com, eliad@wizery.com, ido@wizery.com
Subject: Re: [PATCH] wl12xx: fix compilation error when CONFIG_PM is not set
Date: Wed, 18 May 2011 17:00:10 -0400 (EDT)	[thread overview]
Message-ID: <20110518.170010.1886397881423466575.davem@davemloft.net> (raw)
In-Reply-To: <1305751537-27533-1-git-send-email-coelho@ti.com>

From: Luciano Coelho <coelho@ti.com>
Date: Wed, 18 May 2011 23:45:37 +0300

> There was a compilation error when PM is not enabled:
> 
>   CC [M]  drivers/net/wireless/wl12xx/main.o
> drivers/net/wireless/wl12xx/main.c:3653: error: unknown field 'suspend' specified in initializer
> drivers/net/wireless/wl12xx/main.c:3653: warning: initialization from incompatible pointer type
> drivers/net/wireless/wl12xx/main.c:3654: error: unknown field 'resume' specified in initializer
> drivers/net/wireless/wl12xx/main.c:3654: warning: initialization from incompatible pointer type
> 
> Fix this by adding #ifdef's in the appropriate places.
> 
> Cc: Eliad Peller <eliad@wizery.com>
> Signed-off-by: Luciano Coelho <coelho@ti.com>

Applied, thanks.

      reply	other threads:[~2011-05-18 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18 19:55 net-next-2.6 wireless build failure David Miller
     [not found] ` <20110518.155501.486816316237445149.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2011-05-18 20:38   ` Luciano Coelho
2011-05-18 20:45     ` [PATCH] wl12xx: fix compilation error when CONFIG_PM is not set Luciano Coelho
2011-05-18 21:00       ` David Miller [this message]

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=20110518.170010.1886397881423466575.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=coelho@ti.com \
    --cc=eliad@wizery.com \
    --cc=ido@wizery.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=netdev@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).