summaryrefslogtreecommitdiffstats
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-23 04:18:31 -0700
committerJeff Garzik <jeff@garzik.org>2006-06-26 20:59:27 -0400
commit41542dbe12e34165e586de1e3fe0a245707aa39e (patch)
tree4084584a2d417b898c944c053b4ae9a911b8c6c3 /include/linux/libata.h
parent438bc9c3dec27ab37f0ff78471d0b8b91addd2dd (diff)
downloadkernel-crypto-41542dbe12e34165e586de1e3fe0a245707aa39e.tar.gz
kernel-crypto-41542dbe12e34165e586de1e3fe0a245707aa39e.tar.xz
kernel-crypto-41542dbe12e34165e586de1e3fe0a245707aa39e.zip
[PATCH] libata.h needs scatterlist.h
From: Andrew Morton <akpm@osdl.org> s390: In file included from drivers/scsi/libata-bmdma.c:39: include/linux/libata.h:391: error: field 'sgent' has incomplete type include/linux/libata.h:392: error: field 'pad_sgent' has incomplete type include/linux/libata.h: In function 'ata_sg_is_last': include/linux/libata.h:849: error: arithmetic on pointer to an incomplete type include/linux/libata.h:849: error: arithmetic on pointer to an incomplete type include/linux/libata.h: In function 'ata_qc_next_sg': include/linux/libata.h:869: error: increment of pointer to unknown structure include/linux/libata.h:869: error: arithmetic on pointer to an incomplete type include/linux/libata.h:869: error: arithmetic on pointer to an incomplete type include/linux/libata.h:869: error: arithmetic on pointer to an incomplete type Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 20b1cf527c6..c227dace1d2 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -30,6 +30,7 @@
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
+#include <asm/scatterlist.h>
#include <asm/io.h>
#include <linux/ata.h>
#include <linux/workqueue.h>