]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 25 Aug 2011 17:55:21 +0000 (13:55 -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 0be788cc2fdbe6e40920e5f77efa7590475bffa8..ce60c21f6402bfd0a269b329dde989e55162bedd 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"