Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp657190iog; Fri, 24 Jun 2022 11:05:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tRWmMQAYKmvMRtghb5HfX4BQs1CAXHH/43RH1bmiwpomx6OJrAE38HjppKmOJuwSIAj9Vs X-Received: by 2002:a63:6f43:0:b0:408:d61b:77b0 with SMTP id k64-20020a636f43000000b00408d61b77b0mr67236pgc.529.1656093943587; Fri, 24 Jun 2022 11:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656093943; cv=none; d=google.com; s=arc-20160816; b=bRF/v3hGzfDPxZ0TIfzirkbVX03UPK0b/wL78561bTmMkRVEkebOCXEgTxIwlYq7Up LovzXJN9cta4S+U8jAFJBGRS2vI/Wh0huth8nNpHXBBTi7SoiFhY5XUyrY1SL4OKkTxB U+/ObiPuIVkYHo6LuUuijAd0OQBHmR/PGllFkC7uqZ87du2wg0o0cxhsfdckMVFmdqi+ bw5aYPbKX9xLKkLdgWfFA2Cl1upEdlInDesKyU+IZ4cHdVsgUCGlYL2LNH+4phWENJC3 oy7xoNiAq/BCg8FNUKqPkFH+j3824Edzo1EFOte8YgtSzh3nOAs76qgUrQrrKjL+QlM1 NKCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=FFtpOHFnlX009BtGINxYsu+duGmxq2BAbhUos4aOejE=; b=TkM+6VqF+uk2kowsm90YEEJ1VGKU9HX+r9wcvph0iiVPsBqZRj0BokXrQ3043N6VY7 KafuXo2y0VEgf8g40DLQt4jAV8YYqbNsSCx5HvQoxKSTq/IjJzASMqXYzqYW1xvI77sZ eexPovC6n8IT6gNrEWVgNpA7D6YayB5hyP97xPOSqVN73BF3htlxwsLfCe8ylc9+gR53 rI4YH1hXDjL/QO/4r1xG3vHwkBviLfEZNDWV9d4TOmemSnc4lvx07Pc8pm+QM5tdR8DG kQS4RPLYaGMVettIJtXIsVkl8hdd44Mp9sSQ6voh2bNVeiLF//hKmALCRYw7QNVZ7nx2 Lraw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170902f68c00b0016a14bc0a25si4444133plg.232.2022.06.24.11.05.30; Fri, 24 Jun 2022 11:05:43 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231843AbiFXR4z (ORCPT + 99 others); Fri, 24 Jun 2022 13:56:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbiFXR4x (ORCPT ); Fri, 24 Jun 2022 13:56:53 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C5FDA9585; Fri, 24 Jun 2022 10:56:51 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.92,218,1650898800"; d="scan'208";a="125577364" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 25 Jun 2022 02:56:50 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 84329400F791; Sat, 25 Jun 2022 02:56:47 +0900 (JST) From: Lad Prabhakar To: Thomas Gleixner , Marc Zyngier , Palmer Dabbelt , Paul Walmsley , linux-riscv@lists.infradead.org Cc: Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH] irqchip/sifive-plic: Make struct irq_chip const Date: Fri, 24 Jun 2022 18:56:39 +0100 Message-Id: <20220624175639.2677-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 These should be const, so make it so. Signed-off-by: Lad Prabhakar --- drivers/irqchip/irq-sifive-plic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-sifive-plic.c b/drivers/irqchip/irq-sifive-plic.c index bb87e4c3b88e..173446cc9204 100644 --- a/drivers/irqchip/irq-sifive-plic.c +++ b/drivers/irqchip/irq-sifive-plic.c @@ -176,7 +176,7 @@ static void plic_irq_eoi(struct irq_data *d) } } -static struct irq_chip plic_chip = { +static const struct irq_chip plic_chip = { .name = "SiFive PLIC", .irq_mask = plic_irq_mask, .irq_unmask = plic_irq_unmask, -- 2.25.1