]> err.no Git - linux-2.6/commitdiff
[IA64] build fix for scatterlist
authorTony Luck <tony.luck@intel.com>
Mon, 15 Oct 2007 20:49:43 +0000 (13:49 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 15 Oct 2007 20:49:43 +0000 (13:49 -0700)
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>
include/asm-ia64/dma-mapping.h

index 6299b51575bb3f0814f2448eda09a53b62c81fe9..3ca6d5c14b2e729ca772db529e70c7e479449ab2 100644 (file)
@@ -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 */