rt2x00: Fix building of rt2800lib when rt2x00 driver is built-in.
authorGertjan van Wingerde <gwingerde@gmail.com>
Mon, 9 Nov 2009 22:38:35 +0000 (23:38 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 Nov 2009 20:23:56 +0000 (15:23 -0500)
commitac9d1a7bef71afa4837769ef38edb0f7e2ef8028
tree7117af487eee7ddb3de85f870fb5d54832015112
parent2015d1920c6ec637b16db1e8734d9070983db21f
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>
drivers/net/wireless/rt2x00/rt2x00usb.h