浏览代码

[IA64] build fix for scatterlist

include/scsi/scsi_eh.h:79: error: field `sense_sgl' has incomplete type

x86 resolves this by including scatterlist.h from dma-mapping.h which
seems as good a place as any.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Tony Luck 17 年之前
父节点
当前提交
0df333ce01
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/asm-ia64/dma-mapping.h

+ 1 - 0
include/asm-ia64/dma-mapping.h

@@ -6,6 +6,7 @@
  *	David Mosberger-Tang <davidm@hpl.hp.com>
  */
 #include <asm/machvec.h>
+#include <asm/scatterlist.h>
 
 #define dma_alloc_coherent	platform_dma_alloc_coherent
 /* coherent mem. is cheap */