summaryrefslogtreecommitdiffstats
path: root/include/asm-avr32
diff options
context:
space:
mode:
authorJean Delvare2007-03-06 11:45:12 +0100
committerGreg Kroah-Hartman2007-05-03 04:02:34 +0200
commita9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6 (patch)
tree824e770379f8dea598e411ba43aeb7659f26c8dc /include/asm-avr32
parentPCI: fix multiple definition of `queue_pushbutton_work' (diff)
downloadkernel-qcow2-linux-a9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6.tar.gz
kernel-qcow2-linux-a9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6.tar.xz
kernel-qcow2-linux-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-avr32')
-rw-r--r--include/asm-avr32/scatterlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-avr32/scatterlist.h b/include/asm-avr32/scatterlist.h
index bfe7d753423c..c6d5ce3b3a25 100644
--- a/include/asm-avr32/scatterlist.h
+++ b/include/asm-avr32/scatterlist.h
@@ -1,6 +1,8 @@
#ifndef __ASM_AVR32_SCATTERLIST_H
#define __ASM_AVR32_SCATTERLIST_H
+#include <asm/types.h>
+
struct scatterlist {
struct page *page;
unsigned int offset;