Skip to content

Commit

Permalink
[IA64] build fix for scatterlist
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Luck committed Oct 15, 2007
1 parent 4937ce8 commit 0df333c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/asm-ia64/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 0df333c

Please sign in to comment.