From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932940AbdIRQrY (ORCPT ); Mon, 18 Sep 2017 12:47:24 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:37195 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932658AbdIRQrX (ORCPT ); Mon, 18 Sep 2017 12:47:23 -0400 X-Google-Smtp-Source: ADKCNb4I0BhEvvuvwDigrOzKxBQhSoppctvdz3zEPj4W+yOc6z7PEC9P7A+PWikG51dj5gDt34OJjw== From: Bhumika Goyal To: julia.lawall@lip6.fr, tony@atomide.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bhumika Goyal Subject: [PATCH] ARM: OMAP2+: make omap_dma_dev_info __initdata Date: Mon, 18 Sep 2017 22:17:10 +0530 Message-Id: <1505753230-14014-1-git-send-email-bhumirks@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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