Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751629AbdISHHd (ORCPT ); Tue, 19 Sep 2017 03:07:33 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:35147 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751410AbdISHHb (ORCPT ); Tue, 19 Sep 2017 03:07:31 -0400 X-Google-Smtp-Source: AOwi7QDa67tKqhl0ng7muJ2IpE4Zn1DYw5iuo28PuBdEQZT6jQUhqUF0Sj93MPaMOi7yZ0CRVyk/dg== From: Bhumika Goyal To: julia.lawall@lip6.fr, rkuo@codeaurora.org, linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bhumika Goyal Subject: [PATCH] hexagon/time: make rtos_timer_device __initdata Date: Tue, 19 Sep 2017 12:37:21 +0530 Message-Id: <1505804841-20278-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 Content-Length: 784 Lines: 26 Make this __initdata as it is only modified during the init phase and after that the structure and its fields are not referenced anywhere. Signed-off-by: Bhumika Goyal --- Hexagon architecture was not found while cross-compiling, so the file is not compile-tested. arch/hexagon/kernel/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/hexagon/kernel/time.c b/arch/hexagon/kernel/time.c index 29b1f57..5b5a366 100644 --- a/arch/hexagon/kernel/time.c +++ b/arch/hexagon/kernel/time.c @@ -54,7 +54,7 @@ }, }; -static struct platform_device rtos_timer_device = { +static struct platform_device rtos_timer_device __initdata = { .name = "rtos_timer", .id = -1, .num_resources = ARRAY_SIZE(rtos_timer_resources), -- 1.9.1