[PATCH] libata.h needs scatterlist.h
authorAndrew Morton <akpm@osdl.org>
Fri, 23 Jun 2006 11:18:31 +0000 (04:18 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Jun 2006 00:59:27 +0000 (20:59 -0400)
commit41542dbe12e34165e586de1e3fe0a245707aa39e
tree4084584a2d417b898c944c053b4ae9a911b8c6c3
parent438bc9c3dec27ab37f0ff78471d0b8b91addd2dd
[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>
include/linux/libata.h