[2.6 patch] x86: make struct nommu_dma_ops static

From: Adrian Bunk
Date: Wed Apr 23 2008 - 06:01:36 EST


This patch makes the needlessly global struct nommu_dma_ops static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
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,

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/