浏览代码

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 年之前
父节点
当前提交
527c6d7f18
共有 1 个文件被更改,包括 1 次插入0 次删除
  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"