Messages in this thread Patch in this message | | | Date | Wed, 23 Apr 2008 12:52:40 +0300 | From | Adrian Bunk <> | 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,
| |