diff options
| author | Jean Delvare <khali@linux-fr.org> | 2007-03-06 05:45:12 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-02 22:02:34 -0400 |
| commit | a9dfd281a7e12f6d9b53b5a28649b3a3c76a70e6 (patch) | |
| tree | 824e770379f8dea598e411ba43aeb7659f26c8dc | |
| parent | e325e1f0783382298141c74737712637943c6063 (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>
| -rw-r--r-- | include/asm-alpha/scatterlist.h | 1 | ||||
| -rw-r--r-- | include/asm-avr32/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-frv/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-h8300/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-i386/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-ia64/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-m32r/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-m68knommu/scatterlist.h | 1 | ||||
| -rw-r--r-- | include/asm-mips/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-parisc/scatterlist.h | 1 | ||||
| -rw-r--r-- | include/asm-sh/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-sh64/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-sparc64/scatterlist.h | 1 | ||||
| -rw-r--r-- | include/asm-v850/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-x86_64/scatterlist.h | 2 | ||||
| -rw-r--r-- | include/asm-xtensa/scatterlist.h | 2 |
16 files changed, 28 insertions, 0 deletions
diff --git a/include/asm-alpha/scatterlist.h b/include/asm-alpha/scatterlist.h index 6afb8bd3aaf..917365405e8 100644 --- a/include/asm-alpha/scatterlist.h +++ b/include/asm-alpha/scatterlist.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define _ALPHA_SCATTERLIST_H | 2 | #define _ALPHA_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/page.h> | 4 | #include <asm/page.h> |
| 5 | #include <asm/types.h> | ||
| 5 | 6 | ||
| 6 | struct scatterlist { | 7 | struct scatterlist { |
| 7 | struct page *page; | 8 | struct page *page; |
diff --git a/include/asm-avr32/scatterlist.h b/include/asm-avr32/scatterlist.h index bfe7d753423..c6d5ce3b3a2 100644 --- a/include/asm-avr32/scatterlist.h +++ b/include/asm-avr32/scatterlist.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef __ASM_AVR32_SCATTERLIST_H | 1 | #ifndef __ASM_AVR32_SCATTERLIST_H |
| 2 | #define __ASM_AVR32_SCATTERLIST_H | 2 | #define __ASM_AVR32_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/types.h> | ||
| 5 | |||
| 4 | struct scatterlist { | 6 | struct scatterlist { |
| 5 | struct page *page; | 7 | struct page *page; |
| 6 | unsigned int offset; | 8 | unsigned int offset; |
diff --git a/include/asm-frv/scatterlist.h b/include/asm-frv/scatterlist.h index fb38fd329a5..8e827fa853f 100644 --- a/include/asm-frv/scatterlist.h +++ b/include/asm-frv/scatterlist.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef _ASM_SCATTERLIST_H | 1 | #ifndef _ASM_SCATTERLIST_H |
| 2 | #define _ASM_SCATTERLIST_H | 2 | #define _ASM_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/types.h> | ||
| 5 | |||
| 4 | /* | 6 | /* |
| 5 | * Drivers must set either ->address or (preferred) ->page and ->offset | 7 | * Drivers must set either ->address or (preferred) ->page and ->offset |
| 6 | * to indicate where data must be transferred to/from. | 8 | * to indicate where data must be transferred to/from. |
diff --git a/include/asm-h8300/scatterlist.h b/include/asm-h8300/scatterlist.h index 7627f0cd1a2..985fdf54eac 100644 --- a/include/asm-h8300/scatterlist.h +++ b/include/asm-h8300/scatterlist.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef _H8300_SCATTERLIST_H | 1 | #ifndef _H8300_SCATTERLIST_H |
| 2 | #define _H8300_SCATTERLIST_H | 2 | #define _H8300_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/types.h> | ||
| 5 | |||
| 4 | struct scatterlist { | 6 | struct scatterlist { |
| 5 | struct page *page; | 7 | struct page *page; |
| 6 | unsigned int offset; | 8 | unsigned int offset; |
diff --git a/include/asm-i386/scatterlist.h b/include/asm-i386/scatterlist.h index 55d6c953a76..d7e45a8f1aa 100644 --- a/include/asm-i386/scatterlist.h +++ b/include/asm-i386/scatterlist.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef _I386_SCATTERLIST_H | 1 | #ifndef _I386_SCATTERLIST_H |
| 2 | #define _I386_SCATTERLIST_H | 2 | #define _I386_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/types.h> | ||
| 5 | |||
| 4 | struct scatterlist { | 6 | struct scatterlist { |
| 5 | struct page *page; | 7 | struct page *page; |
| 6 | unsigned int offset; | 8 | unsigned int offset; |
diff --git a/include/asm-ia64/scatterlist.h b/include/asm-ia64/scatterlist.h index 9dbea8844d5..a452ea24205 100644 --- a/include/asm-ia64/scatterlist.h +++ b/include/asm-ia64/scatterlist.h | |||
| @@ -6,6 +6,8 @@ | |||
| 6 | * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co | 6 | * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <asm/types.h> | ||
| 10 | |||
| 9 | struct scatterlist { | 11 | struct scatterlist { |
| 10 | struct page *page; | 12 | struct page *page; |
| 11 | unsigned int offset; | 13 | unsigned int offset; |
diff --git a/include/asm-m32r/scatterlist.h b/include/asm-m32r/scatterlist.h index c2de96cb69e..352415ff5eb 100644 --- a/include/asm-m32r/scatterlist.h +++ b/include/asm-m32r/scatterlist.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef _ASM_M32R_SCATTERLIST_H | 1 | #ifndef _ASM_M32R_SCATTERLIST_H |
| 2 | #define _ASM_M32R_SCATTERLIST_H | 2 | #define _ASM_M32R_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/types.h> | ||
| 5 | |||
| 4 | struct scatterlist { | 6 | struct scatterlist { |
| 5 | char * address; /* Location data is to be transferred to, NULL for | 7 | char * address; /* Location data is to be transferred to, NULL for |
| 6 | * highmem page */ | 8 | * highmem page */ |
diff --git a/include/asm-m68knommu/scatterlist.h b/include/asm-m68knommu/scatterlist.h index 2085d6ff878..4da79d3d3f3 100644 --- a/include/asm-m68knommu/scatterlist.h +++ b/include/asm-m68knommu/scatterlist.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define _M68KNOMMU_SCATTERLIST_H | 2 | #define _M68KNOMMU_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <linux/mm.h> | 4 | #include <linux/mm.h> |
| 5 | #include <asm/types.h> | ||
| 5 | 6 | ||
| 6 | struct scatterlist { | 7 | struct scatterlist { |
| 7 | struct page *page; | 8 | struct page *page; |
diff --git a/include/asm-mips/scatterlist.h b/include/asm-mips/scatterlist.h index 22634706e9d..7af104c95b2 100644 --- a/include/asm-mips/scatterlist.h +++ b/include/asm-mips/scatterlist.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef __ASM_SCATTERLIST_H | 1 | #ifndef __ASM_SCATTERLIST_H |
| 2 | #define __ASM_SCATTERLIST_H | 2 | #define __ASM_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/types.h> | ||
| 5 | |||
| 4 | struct scatterlist { | 6 | struct scatterlist { |
| 5 | struct page * page; | 7 | struct page * page; |
| 6 | unsigned int offset; | 8 | unsigned int offset; |
diff --git a/include/asm-parisc/scatterlist.h b/include/asm-parisc/scatterlist.h index 236c1d0fba3..e7211c74844 100644 --- a/include/asm-parisc/scatterlist.h +++ b/include/asm-parisc/scatterlist.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define _ASM_PARISC_SCATTERLIST_H | 2 | #define _ASM_PARISC_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/page.h> | 4 | #include <asm/page.h> |
| 5 | #include <asm/types.h> | ||
| 5 | 6 | ||
| 6 | struct scatterlist { | 7 | struct scatterlist { |
| 7 | struct page *page; | 8 | struct page *page; |
diff --git a/include/asm-sh/scatterlist.h b/include/asm-sh/scatterlist.h index d19e7cd3b02..b9ae53c3836 100644 --- a/include/asm-sh/scatterlist.h +++ b/include/asm-sh/scatterlist.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef __ASM_SH_SCATTERLIST_H | 1 | #ifndef __ASM_SH_SCATTERLIST_H |
| 2 | #define __ASM_SH_SCATTERLIST_H | 2 | #define __ASM_SH_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/types.h> | ||
| 5 | |||
| 4 | struct scatterlist { | 6 | struct scatterlist { |
| 5 | struct page * page; /* Location for highmem page, if any */ | 7 | struct page * page; /* Location for highmem page, if any */ |
| 6 | unsigned int offset;/* for highmem, page offset */ | 8 | unsigned int offset;/* for highmem, page offset */ |
diff --git a/include/asm-sh64/scatterlist.h b/include/asm-sh64/scatterlist.h index 5d8fa32d2e9..1c723f2d7a9 100644 --- a/include/asm-sh64/scatterlist.h +++ b/include/asm-sh64/scatterlist.h | |||
| @@ -11,6 +11,8 @@ | |||
| 11 | #ifndef __ASM_SH64_SCATTERLIST_H | 11 | #ifndef __ASM_SH64_SCATTERLIST_H |
| 12 | #define __ASM_SH64_SCATTERLIST_H | 12 | #define __ASM_SH64_SCATTERLIST_H |
| 13 | 13 | ||
| 14 | #include <asm/types.h> | ||
| 15 | |||
| 14 | struct scatterlist { | 16 | struct scatterlist { |
| 15 | struct page * page; /* Location for highmem page, if any */ | 17 | struct page * page; /* Location for highmem page, if any */ |
| 16 | unsigned int offset;/* for highmem, page offset */ | 18 | unsigned int offset;/* for highmem, page offset */ |
diff --git a/include/asm-sparc64/scatterlist.h b/include/asm-sparc64/scatterlist.h index ec4f3c63fe9..048fdb40e81 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 | ||
| 7 | struct scatterlist { | 8 | struct scatterlist { |
| 8 | struct page *page; | 9 | struct page *page; |
diff --git a/include/asm-v850/scatterlist.h b/include/asm-v850/scatterlist.h index af1cba69a52..56f402920db 100644 --- a/include/asm-v850/scatterlist.h +++ b/include/asm-v850/scatterlist.h | |||
| @@ -14,6 +14,8 @@ | |||
| 14 | #ifndef __V850_SCATTERLIST_H__ | 14 | #ifndef __V850_SCATTERLIST_H__ |
| 15 | #define __V850_SCATTERLIST_H__ | 15 | #define __V850_SCATTERLIST_H__ |
| 16 | 16 | ||
| 17 | #include <asm/types.h> | ||
| 18 | |||
| 17 | struct scatterlist { | 19 | struct scatterlist { |
| 18 | struct page *page; | 20 | struct page *page; |
| 19 | unsigned offset; | 21 | unsigned offset; |
diff --git a/include/asm-x86_64/scatterlist.h b/include/asm-x86_64/scatterlist.h index 49d89f8129c..eaf7ada27e1 100644 --- a/include/asm-x86_64/scatterlist.h +++ b/include/asm-x86_64/scatterlist.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef _X8664_SCATTERLIST_H | 1 | #ifndef _X8664_SCATTERLIST_H |
| 2 | #define _X8664_SCATTERLIST_H | 2 | #define _X8664_SCATTERLIST_H |
| 3 | 3 | ||
| 4 | #include <asm/types.h> | ||
| 5 | |||
| 4 | struct scatterlist { | 6 | struct scatterlist { |
| 5 | struct page *page; | 7 | struct page *page; |
| 6 | unsigned int offset; | 8 | unsigned int offset; |
diff --git a/include/asm-xtensa/scatterlist.h b/include/asm-xtensa/scatterlist.h index 38a2b9acd65..ca337a29429 100644 --- a/include/asm-xtensa/scatterlist.h +++ b/include/asm-xtensa/scatterlist.h | |||
| @@ -11,6 +11,8 @@ | |||
| 11 | #ifndef _XTENSA_SCATTERLIST_H | 11 | #ifndef _XTENSA_SCATTERLIST_H |
| 12 | #define _XTENSA_SCATTERLIST_H | 12 | #define _XTENSA_SCATTERLIST_H |
| 13 | 13 | ||
| 14 | #include <asm/types.h> | ||
| 15 | |||
| 14 | struct scatterlist { | 16 | struct scatterlist { |
| 15 | struct page *page; | 17 | struct page *page; |
| 16 | unsigned int offset; | 18 | unsigned int offset; |
