lkml.org 
[lkml]   [2008]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] x86: make struct nommu_dma_ops static
This patch makes the needlessly global struct nommu_dma_ops static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
d9446cb290ebca8105db4ec4fad27177a48898a5 diff --git a/arch/x86/kernel/pci-nommu.c b/arch/x86/kernel/pci-nommu.c
index aec43d5..7699d8d 100644
--- a/arch/x86/kernel/pci-nommu.c
+++ b/arch/x86/kernel/pci-nommu.c
@@ -83,7 +83,7 @@ static int nommu_mapping_error(dma_addr_t dma_addr)
}


-const struct dma_mapping_ops nommu_dma_ops = {
+static const struct dma_mapping_ops nommu_dma_ops = {
.map_single = nommu_map_single,
.map_sg = nommu_map_sg,
.mapping_error = nommu_mapping_error,


\
 
 \ /
  Last update: 2008-04-23 12:07    [W:0.024 / U:2.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site