diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-03-06 13:45:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-03 06:02:34 +0400 |
commit | a9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6 (patch) | |
tree | 824e770379f8dea598e411ba43aeb7659f26c8dc /include/asm-sh | |
parent | e325e1f0783382298141c74737712637943c6063 (diff) | |
download | linux-a9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6.tar.xz |
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-sh')
-rw-r--r-- | include/asm-sh/scatterlist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/scatterlist.h b/include/asm-sh/scatterlist.h index d19e7cd3b023..b9ae53c38365 100644 --- a/include/asm-sh/scatterlist.h +++ b/include/asm-sh/scatterlist.h @@ -1,6 +1,8 @@ #ifndef __ASM_SH_SCATTERLIST_H #define __ASM_SH_SCATTERLIST_H +#include <asm/types.h> + struct scatterlist { struct page * page; /* Location for highmem page, if any */ unsigned int offset;/* for highmem, page offset */ |