[patch 2/2] libsas fails to compile on s390

akpm
2006-11-09T03:57:20Z

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Explicitly include scatterlist.h in sas_internal.h to avoid the implicit
include dependency via the pci.h header. For s390 the scatterlist.h header
is not included because CONFIG_PCI=n.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

drivers/scsi/libsas/sas_internal.h | 1 +
1 file changed, 1 insertion(+)

diff -puN drivers/scsi/libsas/sas_internal.h~libsas-fails-to-compile-on-s390 drivers/scsi/libsas/sas_internal.h
--- a/drivers/scsi/libsas/sas_internal.h~libsas-fails-to-compile-on-s390
+++ a/drivers/scsi/libsas/sas_internal.h
@@ -26,6 +26,7 @@
#ifndef _SAS_INTERNAL_H_
#define _SAS_INTERNAL_H_

+#include <linux/scatterlist.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_transport_sas.h>
_