Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3317769ioo; Sun, 29 May 2022 21:49:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyn70r4sKHExOoEiEoEqoHbGl9jPOCXvy17zwpSPZXc1L2B62gBmk1/3+BeaLPEgbfMQ3MM X-Received: by 2002:a05:6a00:b4d:b0:518:ae48:a2bb with SMTP id p13-20020a056a000b4d00b00518ae48a2bbmr34430235pfo.2.1653886164461; Sun, 29 May 2022 21:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653886164; cv=none; d=google.com; s=arc-20160816; b=fNjk4f3WD2cIMsj4JJh/FWvFuyWcRS+izNjAIyOzvk6XLXXhawK6rSSR1G5zQ92rsP s4bQNPALaj8RIpMyyYXnWy+si1MXdADBONJ6z4sWsbOXxjywKJmNwjz6kSRyUjxenMxV 1INZntqEho9Ym4cv3KfsbN4FYlBRsCec4+D+ZR3t11Hub2fPgDODoIFsqQKzsik1bu0i FW/rQ9ll3rYuYlAOdXnudVHyJzOqaUIs9W+cBzyYXDUECjl0mCE6u4mspLGUruoR5uof En/HMcBvOGdQYcdgsv5XrWfj1kL9iL1hENiFaKXoxrkCGgDQivhtg+jH6UT/uih2ibIB tvIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=2HlQGAUl9M/AZGrqCDkXR6JCWy5C1MD95BUhhErWH0E=; b=i7j0wMf9FhUC4nh4s6hwOcTkNR8fgTLutuL7do7NaNlH5+N61LpM3IXVl9tl2SYQbc u7Of+0H1+EcQTg97AX9waUkfsbGQpM8FXQW0RrSQcSqzkJoN4oibSRzwlbLKUu0jEsFg OFDnkkxkJlkFgehzeRDr+tpQdXcFDTm7gAORhY12VWGILTitqTl25DlQMufO/eEbGPbR Ipjl6gefRHHndbDNQU10HYeDIBwe1pdYDnY4rhq484/TLgHJRwkJgHzggasw2G3u3+tO pqh61v6eQ824bZndpyE3IAFe+tp5VqTSpsK1b5YwBllciF+MfynJ2ox+tXn1Ld8KBOVa UJwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p19-20020a056a000a1300b0050d44724426si14488330pfh.341.2022.05.29.21.48.49; Sun, 29 May 2022 21:49:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232299AbiE3Cxn (ORCPT + 99 others); Sun, 29 May 2022 22:53:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231174AbiE3Cxm (ORCPT ); Sun, 29 May 2022 22:53:42 -0400 Received: from smtpbg.qq.com (smtpbg136.qq.com [106.55.201.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE3BBBF77 for ; Sun, 29 May 2022 19:53:35 -0700 (PDT) X-QQ-mid: bizesmtp62t1653879205tazgnq63 Received: from localhost.localdomain ( [125.70.163.149]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 30 May 2022 10:53:19 +0800 (CST) X-QQ-SSF: 01000000002000B0G000B00A0000000 X-QQ-FEAT: aP2oNmVYkM8uBnFjUZppHeBd4hr0l1hknLqTQdu8GP7UoYNBB7Nu/7pJ+Xp3C NB+jfQ7hg5v7dQq61kLhMYvBh4l3W0lF4FzuGyt68/DIUkPinP3U68q98mgm1W9bfNjnSkX 8GKVNnagIleFTQSKVuDls/wnphjfBGKlURfYmFuwSBhUiHNZ70HL87ENmSSIX+OzQb+ZMd9 B/5LXEjJ2bxCaotCXBYm/DJkpgiRhp+M8SlaYYTV7AM5UTobI57SVKkIl4J4QoKLgkQZhbb UbhF9Fvc78oU1H3DutdioT9dc44fdC/1jn7MHwA1ucp/n48RWpDsmD2C9FGC+yfu2kPSxy1 JI+tFqeIYZe1AJrNNbDs7SrUY6QQg== X-QQ-GoodBg: 0 From: Xiang wangx To: gerg@linux-m68k.org Cc: geert@linux-m68k.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Xiang wangx Subject: [PATCH] m68k: coldfire:Add const to clk_ops Date: Mon, 30 May 2022 10:53:12 +0800 Message-Id: <20220530025312.55057-1-wangxiang@cdjrlc.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybgspam:qybgspam7 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Struct clk_ops should normally be const. Signed-off-by: Xiang wangx --- arch/m68k/coldfire/clk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/m68k/coldfire/clk.c b/arch/m68k/coldfire/clk.c index d03b6c4aa86b..a0cd4c79f0ee 100644 --- a/arch/m68k/coldfire/clk.c +++ b/arch/m68k/coldfire/clk.c @@ -50,7 +50,7 @@ static void __clk_disable0(struct clk *clk) __raw_writeb(clk->slot, MCFPM_PPMSR0); } -struct clk_ops clk_ops0 = { +struct const clk_ops clk_ops0 = { .enable = __clk_enable0, .disable = __clk_disable0, }; @@ -66,7 +66,7 @@ static void __clk_disable1(struct clk *clk) __raw_writeb(clk->slot, MCFPM_PPMSR1); } -struct clk_ops clk_ops1 = { +struct const clk_ops clk_ops1 = { .enable = __clk_enable1, .disable = __clk_disable1, }; -- 2.36.1