]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
usb: fix implicit usage of gfp.h in host/xhci-hub.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 18 Jul 2011 18:42:00 +0000 (14:42 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:26 +0000 (19:31 -0400)
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>
drivers/usb/host/xhci-hub.c

index 431efe72b1f7807cf25840dba6cca3fd81905fa4..430e88fd3f6cd170261592175d51b6971406c1f2 100644 (file)
@@ -20,6 +20,7 @@
  * Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <linux/gfp.h>
 #include <asm/unaligned.h>
 
 #include "xhci.h"