Skip to content

Commit 10e998f

Browse files
goyalbhumikatmlind
authored andcommitted
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 <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent cf14dd0 commit 10e998f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-omap2/dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static struct omap_system_dma_plat_info dma_plat_info __initdata = {
223223
.dma_read = dma_read,
224224
};
225225

226-
static struct platform_device_info omap_dma_dev_info = {
226+
static struct platform_device_info omap_dma_dev_info __initdata = {
227227
.name = "omap-dma-engine",
228228
.id = -1,
229229
.dma_mask = DMA_BIT_MASK(32),

0 commit comments

Comments
 (0)