Skip to content

Commit

Permalink
ARM: OMAP2+: make omap_dma_dev_info __initdata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bhumika Goyal authored and Tony Lindgren committed Oct 2, 2017
1 parent cf14dd0 commit 10e998f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ static struct omap_system_dma_plat_info dma_plat_info __initdata = {
.dma_read = dma_read,
};

static struct platform_device_info omap_dma_dev_info = {
static struct platform_device_info omap_dma_dev_info __initdata = {
.name = "omap-dma-engine",
.id = -1,
.dma_mask = DMA_BIT_MASK(32),
Expand Down

0 comments on commit 10e998f

Please sign in to comment.