linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP2+: make omap_dma_dev_info __initdata
@ 2017-09-18 16:47 Bhumika Goyal
  2017-10-02 19:49 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Bhumika Goyal @ 2017-09-18 16:47 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 arch/arm/mach-omap2/dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c
index 694ce09..a005e2a 100644
--- a/arch/arm/mach-omap2/dma.c
+++ b/arch/arm/mach-omap2/dma.c
@@ -223,7 +223,7 @@ static unsigned configure_dma_errata(void)
 	.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),
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: OMAP2+: make omap_dma_dev_info __initdata
  2017-09-18 16:47 [PATCH] ARM: OMAP2+: make omap_dma_dev_info __initdata Bhumika Goyal
@ 2017-10-02 19:49 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2017-10-02 19:49 UTC (permalink / raw)
  To: linux-arm-kernel

* Bhumika Goyal <bhumirks@gmail.com> [170918 09:48]:
> 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.

Applying into omap-for-v4.15/soc thanks.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-02 19:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-18 16:47 [PATCH] ARM: OMAP2+: make omap_dma_dev_info __initdata Bhumika Goyal
2017-10-02 19:49 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).