summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHerbert Xu2009-05-30 05:40:04 +0200
committerJames Bottomley2009-06-08 20:09:33 +0200
commitf00a3328bf9ecff46abd68a421693ba71cd16fc8 (patch)
tree5674448c7fbecda6f83be8369b59581de582c42d /drivers
parent[SCSI] ibmvfc: Driver version 1.0.6 (diff)
downloadkernel-qcow2-linux-f00a3328bf9ecff46abd68a421693ba71cd16fc8.tar.gz
kernel-qcow2-linux-f00a3328bf9ecff46abd68a421693ba71cd16fc8.tar.xz
kernel-qcow2-linux-f00a3328bf9ecff46abd68a421693ba71cd16fc8.zip
[SCSI] cxgb3i: Include net/dst.h for struct dst_cache
This driver needs dst_cache->dev so it should include net/dst.h to ensure that it builds. While net/tcp.h probably includes it already, we shouldn't rely on that since there is no guarantee that this won't change in future. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/cxgb3i/cxgb3i_iscsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i_iscsi.c b/drivers/scsi/cxgb3i/cxgb3i_iscsi.c
index 04a43744aedf..74369a3f963b 100644
--- a/drivers/scsi/cxgb3i/cxgb3i_iscsi.c
+++ b/drivers/scsi/cxgb3i/cxgb3i_iscsi.c
@@ -13,6 +13,7 @@
#include <linux/inet.h>
#include <linux/crypto.h>
+#include <net/dst.h>
#include <net/tcp.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>