From patchwork Tue Mar 14 21:06:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 9624519 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B3A31604CC for ; Tue, 14 Mar 2017 21:07:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4B4D283FD for ; Tue, 14 Mar 2017 21:07:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9845827FA7; Tue, 14 Mar 2017 21:07:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2AC3627FA7 for ; Tue, 14 Mar 2017 21:07:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=0X6h8otuZ8knJVuQ10twW5Z7ifQcF7DfmkJCLiiiYVg=; b=dkKqCKIPAkLltu9rbL21ybuM1f YleVD/8kOzlbgqntJJZWjTrPAR2KUGFlVH6rwqlWwd+6VPXT1LssrUtRejI7NLq37SmCh6WL0eu6M CPasE4im4vSPVOrzYwJmFXa0KeMEmKcMndWOVEu+gOiW13ijxsp2lnyyQFp38mD4jDYjGJjOEL6p/ 6LSSIt8qGZ9izmg6AokCXhzNLzokiRTlwAwWM2v+csr0qbmX8a+l1dbhfR8gjh6D/3C0MWmcbJxce pgX1H0zIDbfmDnY5OyhFxmZkIQuVz7Z+tDbO3a+mJh26telN1vUt+2T2M0HHOYv47NIAUhm/IR7x6 SXwiIenA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cntey-0001XZ-QE; Tue, 14 Mar 2017 21:07:12 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cntet-0001Uz-UN for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2017 21:07:10 +0000 Received: from sampyla.muru.com. (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 341938559; Tue, 14 Mar 2017 21:08:48 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Subject: [PATCH 4/4] ARM: OMAP2+: Make hwmod clkdm_name const Date: Tue, 14 Mar 2017 14:06:39 -0700 Message-Id: <20170314210639.2065-5-tony@atomide.com> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170314210639.2065-1-tony@atomide.com> References: <20170314210639.2065-1-tony@atomide.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170314_140708_084053_43D93E8E X-CRM114-Status: UNSURE ( 8.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tero Kristo , Paul Walmsley , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This can be const, and needs to be const when we start initializing it from clkdm data. Cc: Paul Walmsley Cc: Tero Kristo Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/omap_hwmod.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h --- a/arch/arm/mach-omap2/omap_hwmod.h +++ b/arch/arm/mach-omap2/omap_hwmod.h @@ -676,7 +676,7 @@ struct omap_hwmod { const char *main_clk; struct clk *_clk; struct omap_hwmod_opt_clk *opt_clks; - char *clkdm_name; + const char *clkdm_name; struct clockdomain *clkdm; struct list_head slave_ports; /* connect to *_TA */ void *dev_attr;