Browse Source

USB: xhci: Make xhci-mem.c include linux/dmapool.h

xhci-mem.c includes calls to dma_pool_alloc() and other functions defined
in linux/dmapool.h.  Make sure to include that header file.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Sarah Sharp 16 years ago
parent
commit
527c6d7f18
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/usb/host/xhci-mem.c

+ 1 - 0
drivers/usb/host/xhci-mem.c

@@ -22,6 +22,7 @@
 
 #include <linux/usb.h>
 #include <linux/pci.h>
+#include <linux/dmapool.h>
 
 #include "xhci.h"