diff options
Diffstat (limited to 'arch/x86/kernel/pci-gart_64.c')
-rw-r--r-- | arch/x86/kernel/pci-gart_64.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index cfcc84e6c350..5cdfab65e93f 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c | |||
@@ -8,6 +8,7 @@ | |||
8 | * See Documentation/DMA-mapping.txt for the interface specification. | 8 | * See Documentation/DMA-mapping.txt for the interface specification. |
9 | * | 9 | * |
10 | * Copyright 2002 Andi Kleen, SuSE Labs. | 10 | * Copyright 2002 Andi Kleen, SuSE Labs. |
11 | * Subject to the GNU General Public License v2 only. | ||
11 | */ | 12 | */ |
12 | 13 | ||
13 | #include <linux/types.h> | 14 | #include <linux/types.h> |
@@ -375,7 +376,8 @@ static inline int dma_map_cont(struct scatterlist *start, int nelems, | |||
375 | * DMA map all entries in a scatterlist. | 376 | * DMA map all entries in a scatterlist. |
376 | * Merge chunks that have page aligned sizes into a continuous mapping. | 377 | * Merge chunks that have page aligned sizes into a continuous mapping. |
377 | */ | 378 | */ |
378 | int gart_map_sg(struct device *dev, struct scatterlist *sg, int nents, int dir) | 379 | static int gart_map_sg(struct device *dev, struct scatterlist *sg, int nents, |
380 | int dir) | ||
379 | { | 381 | { |
380 | int i; | 382 | int i; |
381 | int out; | 383 | int out; |