summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-27 14:49:23 -0800
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 22:02:36 +0100
commit0b5b2903449a027d4fd04c58cee88e276f1608ce (patch)
treefa06437da170de5ab0df85f41c66f3f9401dd45f /drivers
parentcf3e72fd85092bf7246c8266aff293c50e99b990 (diff)
downloadlwn-0b5b2903449a027d4fd04c58cee88e276f1608ce.tar.gz
lwn-0b5b2903449a027d4fd04c58cee88e276f1608ce.zip
firewire: build fix 2
ia64: drivers/firewire/fw-sbp2.c: In function `sbp2_command_orb_map_scatterlist': drivers/firewire/fw-sbp2.c:826: warning: implicit declaration of function `sg_dma_len' drivers/firewire/fw-sbp2.c:828: warning: implicit declaration of function `sg_dma_address' drivers/firewire/fw-sbp2.c:837: error: invalid use of undefined type `struct scatterlist' drivers/firewire/fw-sbp2.c:838: error: invalid use of undefined type `struct scatterlist' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firewire/fw-sbp2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 2756e0c2f9cd..1ac72536af7d 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -21,6 +21,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
+#include <linux/scatterlist.h>
#include <linux/dma-mapping.h>
#include <scsi/scsi.h>