diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-05-02 13:27:06 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 13:27:06 -0400 |
commit | e65845045588806fa5c8df8a4f4253516515a5e3 (patch) | |
tree | 7c94861cdb639c528c93aa091968a1b9f617dbaf /arch/x86_64/mm | |
parent | 19d1743315099665db4ce02c9942507a5ee1deea (diff) |
[PATCH] x86-64: dma_ops as const
The dma_ops structure can be const since it never changes
after boot.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/mm')
-rw-r--r-- | arch/x86_64/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c index ec31534eb104..5ca61731f550 100644 --- a/arch/x86_64/mm/init.c +++ b/arch/x86_64/mm/init.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #define Dprintk(x...) | 46 | #define Dprintk(x...) |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | struct dma_mapping_ops* dma_ops; | 49 | const struct dma_mapping_ops* dma_ops; |
50 | EXPORT_SYMBOL(dma_ops); | 50 | EXPORT_SYMBOL(dma_ops); |
51 | 51 | ||
52 | static unsigned long dma_reserve __initdata; | 52 | static unsigned long dma_reserve __initdata; |