Linux-Next discussions
 help / color / mirror / Atom feed
From: Alexander Beregalov <a.beregalov@gmail.com>
To: linux-next <linux-next@vger.kernel.org>
Cc: Alexander Beregalov <a.beregalov@gmail.com>,
	Christian Lamparter <chunkeey@web.de>,
	Johannes Berg <johannes@sipsolutions.net>,
	"John W. Linville" <linville@tuxdriver.com>
Subject: Re: [PATCH] ar9170: fix build when !CONFIG_PM
Date: Mon, 4 May 2009 20:51:05 +0400	[thread overview]
Message-ID: <a4423d670905040951s2499539cg7bdd5c4f31b97329@mail.gmail.com> (raw)
In-Reply-To: <1241455585-436-1-git-send-email-a.beregalov@gmail.com>

Fix wrong Christian's mail-address.

2009/5/4 Alexander Beregalov <a.beregalov@gmail.com>:
> Fix this build error when CONFIG_PM is not set:
> drivers/net/wireless/ath/ar9170/usb.c: In function 'ar9170_usb_probe':
> drivers/net/wireless/ath/ar9170/usb.c:692:
>        error: 'struct usb_device' has no member named 'reset_resume'
>
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> ---
>  drivers/net/wireless/ath/ar9170/usb.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ar9170/usb.c b/drivers/net/wireless/ath/ar9170/usb.c
> index d7b562d..d7c13c0 100644
> --- a/drivers/net/wireless/ath/ar9170/usb.c
> +++ b/drivers/net/wireless/ath/ar9170/usb.c
> @@ -689,7 +689,9 @@ static int ar9170_usb_probe(struct usb_interface *intf,
>        aru->common.exec_cmd = ar9170_usb_exec_cmd;
>        aru->common.callback_cmd = ar9170_usb_callback_cmd;
>
> +#ifdef CONFIG_PM
>        udev->reset_resume = 1;
> +#endif
>        err = ar9170_usb_reset(aru);
>        if (err)
>                goto err_freehw;
> --
> 1.6.2.3
>
>

      reply	other threads:[~2009-05-04 16:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-04 16:46 [PATCH] ar9170: fix build when !CONFIG_PM Alexander Beregalov
2009-05-04 16:51 ` Alexander Beregalov [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=a4423d670905040951s2499539cg7bdd5c4f31b97329@mail.gmail.com \
    --to=a.beregalov@gmail.com \
    --cc=chunkeey@web.de \
    --cc=johannes@sipsolutions.net \
    --cc=linux-next@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /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