]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: kernel/pci-dma.c cleanups
authorAdrian Bunk <bunk@kernel.org>
Mon, 12 May 2008 13:43:37 +0000 (15:43 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 06:58:28 +0000 (08:58 +0200)
This patch contains the following cleanups:
- make the following needlessly global code static:
  - dma_alloc_pages()

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/pci-dma.c

index c5ef1af8e79de6883b005cfa99d59bb9164e978c..5bc29ca4196e6b626320c69b9c811dec5ed40dde 100644 (file)
@@ -357,7 +357,7 @@ int dma_supported(struct device *dev, u64 mask)
 EXPORT_SYMBOL(dma_supported);
 
 /* Allocate DMA memory on node near device */
-noinline struct page *
+static noinline struct page *
 dma_alloc_pages(struct device *dev, gfp_t gfp, unsigned order)
 {
        int node;