aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2007-10-15 13:49:43 -0700
committerTony Luck <tony.luck@intel.com>2007-10-15 13:49:43 -0700
commit0df333ce01fedad1f7a4f281063a02d76ba33a7d (patch)
treeedf68d3352f394e0713a236c05ba68233075a5e9
parent4937ce87959629d31e9b09cf5bdf1e12a305c805 (diff)
[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>
-rw-r--r--include/asm-ia64/dma-mapping.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ia64/dma-mapping.h b/include/asm-ia64/dma-mapping.h
index 6299b51575b..3ca6d5c14b2 100644
--- a/include/asm-ia64/dma-mapping.h
+++ b/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 */