diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-09-18 12:47:10 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-10-02 15:48:53 -0400 |
commit | 10e998ffc928ec08822476e2618a28ae229619eb (patch) | |
tree | c239001e4fcbb3c05410f3a63a5f6a6a04e7dfda | |
parent | cf14dd05fa1189af7ce6e7d5f46f89814786f277 (diff) |
ARM: OMAP2+: make omap_dma_dev_info __initdata
Make this __initdata as it is only modified only during the initialisation
phase in the function omap2_system_dma_init_dev and after this it is not
referenced anywhere in the kernel.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c index 694ce0939d50..a005e2a23b86 100644 --- a/arch/arm/mach-omap2/dma.c +++ b/arch/arm/mach-omap2/dma.c | |||
@@ -223,7 +223,7 @@ static struct omap_system_dma_plat_info dma_plat_info __initdata = { | |||
223 | .dma_read = dma_read, | 223 | .dma_read = dma_read, |
224 | }; | 224 | }; |
225 | 225 | ||
226 | static struct platform_device_info omap_dma_dev_info = { | 226 | static struct platform_device_info omap_dma_dev_info __initdata = { |
227 | .name = "omap-dma-engine", | 227 | .name = "omap-dma-engine", |
228 | .id = -1, | 228 | .id = -1, |
229 | .dma_mask = DMA_BIT_MASK(32), | 229 | .dma_mask = DMA_BIT_MASK(32), |