Skip to content

Commit

Permalink
usb: fix implicit usage of gfp.h in host/xhci-hub.c
Browse files Browse the repository at this point in the history
To fix this build error on ARM:

drivers/usb/host/xhci-hub.c: In function 'xhci_stop_device':
drivers/usb/host/xhci-hub.c:261: error: 'GFP_NOIO' undeclared (first use in this function)
make[4]: *** [drivers/usb/host/xhci-hub.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent f940fcd commit 4bcbcc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/host/xhci-hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include <linux/gfp.h>
#include <asm/unaligned.h>

#include "xhci.h"
Expand Down

0 comments on commit 4bcbcc9

Please sign in to comment.