1
0
Fork 0

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>
hifive-unleashed-5.1
Bhumika Goyal 2017-09-18 22:17:10 +05:30 committed by Tony Lindgren
parent cf14dd05fa
commit 10e998ffc9
1 changed files with 1 additions and 1 deletions

View File

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