aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/scatterlist.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-03-06 05:45:12 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-02 22:02:34 -0400
commita9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6 (patch)
tree824e770379f8dea598e411ba43aeb7659f26c8dc /include/asm-sparc64/scatterlist.h
parente325e1f0783382298141c74737712637943c6063 (diff)
PCI: scatterlist.h needs types.h
Most architectures' scatterlist.h use the type dma_addr_t, but omit to include <asm/types.h> which defines it. This could lead to build failures, so let's add the missing includes. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-sparc64/scatterlist.h')
-rw-r--r--include/asm-sparc64/scatterlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-sparc64/scatterlist.h b/include/asm-sparc64/scatterlist.h
index ec4f3c63fe98..048fdb40e81d 100644
--- a/include/asm-sparc64/scatterlist.h
+++ b/include/asm-sparc64/scatterlist.h
@@ -3,6 +3,7 @@
3#define _SPARC64_SCATTERLIST_H 3#define _SPARC64_SCATTERLIST_H
4 4
5#include <asm/page.h> 5#include <asm/page.h>
6#include <asm/types.h>
6 7
7struct scatterlist { 8struct scatterlist {
8 struct page *page; 9 struct page *page;