From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753973AbdHUOiX (ORCPT ); Mon, 21 Aug 2017 10:38:23 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:36261 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753830AbdHUOiV (ORCPT ); Mon, 21 Aug 2017 10:38:21 -0400 From: Bhumika Goyal To: julia.lawall@lip6.fr, realmz6@gmail.com, adi-buildroot-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Cc: Bhumika Goyal Subject: [PATCH] Blackfin: bf548: make musb_hdrc_config const Date: Mon, 21 Aug 2017 20:08:13 +0530 Message-Id: <1503326293-7670-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 these const as they are only stored in the const field of a musb_hdrc_platform_data structure. Signed-off-by: Bhumika Goyal --- I could not cross compile the files, so not tested. arch/blackfin/mach-bf548/boards/cm_bf548.c | 2 +- arch/blackfin/mach-bf548/boards/ezkit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c index 120c994..15f823d 100644 --- a/arch/blackfin/mach-bf548/boards/cm_bf548.c +++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c @@ -512,7 +512,7 @@ }, }; -static struct musb_hdrc_config musb_config = { +static const struct musb_hdrc_config musb_config = { .multipoint = 0, .dyn_fifo = 0, .soft_con = 1, diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 3cdd483..d3643f6 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c @@ -655,7 +655,7 @@ }, }; -static struct musb_hdrc_config musb_config = { +static const struct musb_hdrc_config musb_config = { .multipoint = 0, .dyn_fifo = 0, .soft_con = 1, -- 1.9.1