diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2009-11-09 23:38:35 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-11 15:23:56 -0500 |
commit | ac9d1a7bef71afa4837769ef38edb0f7e2ef8028 (patch) | |
tree | 7117af487eee7ddb3de85f870fb5d54832015112 /drivers/net/wireless/rt2x00/rt2x00usb.h | |
parent | 2015d1920c6ec637b16db1e8734d9070983db21f (diff) | |
download | kernel_samsung_smdk4412-ac9d1a7bef71afa4837769ef38edb0f7e2ef8028.zip kernel_samsung_smdk4412-ac9d1a7bef71afa4837769ef38edb0f7e2ef8028.tar.gz kernel_samsung_smdk4412-ac9d1a7bef71afa4837769ef38edb0f7e2ef8028.tar.bz2 |
rt2x00: Fix building of rt2800lib when rt2x00 driver is built-in.
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00usb.h')
-rw-r--r-- | 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 9943e42..1c9d6ca 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); \ |