summaryrefslogtreecommitdiff
path: root/include/asm-xtensa
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-03-06 02:45:12 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-02 19:02:34 -0700
commita9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6 (patch)
tree824e770379f8dea598e411ba43aeb7659f26c8dc /include/asm-xtensa
parente325e1f0783382298141c74737712637943c6063 (diff)
downloadkernel-common-a9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6.tar.gz
kernel-common-a9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6.tar.bz2
kernel-common-a9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6.zip
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-xtensa')
-rw-r--r--include/asm-xtensa/scatterlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-xtensa/scatterlist.h b/include/asm-xtensa/scatterlist.h
index 38a2b9acd658..ca337a294290 100644
--- a/include/asm-xtensa/scatterlist.h
+++ b/include/asm-xtensa/scatterlist.h
@@ -11,6 +11,8 @@
#ifndef _XTENSA_SCATTERLIST_H
#define _XTENSA_SCATTERLIST_H
+#include <asm/types.h>
+
struct scatterlist {
struct page *page;
unsigned int offset;