From: Ivo van Doorn <ivdoorn@gmail.com>
To: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: users@rt2x00.serialmonkey.com, linux-wireless@vger.kernel.org,
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: Re: [PATCH 10/10] rt2x00: Fix building of rt2800lib when rt2x00 driver is built-in.
Date: Tue, 10 Nov 2009 19:34:28 +0100 [thread overview]
Message-ID: <200911101934.29174.IvDoorn@gmail.com> (raw)
In-Reply-To: <1257806315-11089-1-git-send-email-gwingerde@gmail.com>
On Monday 09 November 2009, Gertjan van Wingerde wrote:
> When enabling rt2800usb as a built-in driver (as opposed to a as a module) the build fails. See
> http://marc.info/?l=linux-wireless&m=125768687711034&w=2 for details.
>
> Fix it by properly including <linux/usb.h> from rt2x00usb.h
>
> Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
> ---
>
> John, this is one to merge upstream quickly --> we currently have build failures in next.
>
> ---
> ---
> drivers/net/wireless/rt2x00/rt2x00usb.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h
> index d63e1df..3da6841 100644
> --- a/drivers/net/wireless/rt2x00/rt2x00usb.h
> +++ b/drivers/net/wireless/rt2x00/rt2x00usb.h
> @@ -26,6 +26,8 @@
> #ifndef RT2X00USB_H
> #define RT2X00USB_H
>
> +#include <linux/usb.h>
> +
> #define to_usb_device_intf(d) \
> ({ \
> struct usb_interface *intf = to_usb_interface(d); \
prev parent reply other threads:[~2009-11-10 18:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 22:38 [PATCH 10/10] rt2x00: Fix building of rt2800lib when rt2x00 driver is built-in Gertjan van Wingerde
2009-11-10 18:34 ` Ivo van Doorn [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=200911101934.29174.IvDoorn@gmail.com \
--to=ivdoorn@gmail.com \
--cc=bzolnier@gmail.com \
--cc=gwingerde@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=users@rt2x00.serialmonkey.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;
as well as URLs for NNTP newsgroup(s).