From: Tony Luck <tony.luck@intel.com> Date: Mon, 15 Oct 2007 20:49:43 +0000 (-0700) Subject: [IA64] build fix for scatterlist X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0df333ce01fedad1f7a4f281063a02d76ba33a7d;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [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> --- diff --git a/include/asm-ia64/dma-mapping.h b/include/asm-ia64/dma-mapping.h index 6299b51575bb..3ca6d5c14b2e 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 */