Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1205113pxb; Wed, 6 Apr 2022 11:15:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzm/qb9SwXDAzzN96WSWeP+avAlr/Wh7d7hisxDsniQKboeXldECQpY5DfZ+jxu7lR0aP4Y X-Received: by 2002:a05:6a00:2186:b0:4f7:5544:1cc9 with SMTP id h6-20020a056a00218600b004f755441cc9mr10104573pfi.62.1649268959549; Wed, 06 Apr 2022 11:15:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649268959; cv=none; d=google.com; s=arc-20160816; b=uutXrrKMcz0xKULNSHGVfNQ6NwxASW+36tOptJ/ywHaMNpP0SvmUCS9+AkSYkskyve HE265ZXfDk1vsbPFUNYm9CtlZnwMXWxC2snqMT9TN73ZUUOYIuq5wFRMdsaUFpmJXW3N QnOlmpguqcQHr20JPhO5ZbJqb3+vh1DxnmxzBEq89JaPA3pAlF4NzjM5ut4HjjtxAe4c XunaBsNdrtXg9y1XwOI+d/MJz65tmAs3AZQtgLAB3vavnMGp0hMlLvfetNW68GVXExwi FMnrcVECOQvGM1zYg2TGjq6s/tMNXLYNaQSew2Jb5fEOQET764wjY2IgoUC3Su4YQ7Mv aY5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=af0UnG0p1IHocA1ImPA0zGR5Iruetv/o6EB6yZ1XfWE=; b=V8f4MME19+JXA+k/kBq+f01MglRRuKlwwQONQnEDnPNLR8nyPfNWn3CMoyOm2pgoFO oXt5Jjdq6/nkcPzwKoTkFyMFMzNK6/67id0lXOKBvAsKZaOMGMHs0TH8AjNClrNGc7fq u5t7jUthFb75sUn85U6lbUHxlk2UnsQF7V7zZZnJTXWCM9ASSqEEtoq8hqBa40hbI60J MmhmES1EKHKcy0tPO7muv9xPDvOpWKEiY9HKSWDfip0CMVssrtEAVAhsY9+H7yRpzL/7 2leBZCosZ/2psG5QtzWqmk8FZIZ2hU+3zaovJXlMBCJBSlK8rEP/ycwpXiAvGXEFtdKK Mo3Q== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i11-20020a17090a64cb00b001c6fdf85547si5283758pjm.88.2022.04.06.11.15.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 11:15:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 346B770076; Wed, 6 Apr 2022 11:01:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239732AbiDFSDj (ORCPT + 99 others); Wed, 6 Apr 2022 14:03:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240096AbiDFSCc (ORCPT ); Wed, 6 Apr 2022 14:02:32 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A53681FD57F for ; Wed, 6 Apr 2022 09:37:05 -0700 (PDT) Received: from dude03.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::39]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nc8eT-00087T-SW; Wed, 06 Apr 2022 18:37:01 +0200 From: Lucas Stach To: Thomas Gleixner , Marc Zyngier Cc: Pengutronix Kernel Team , NXP Linux Team , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patchwork-lst@pengutronix.de Subject: [PATCH 1/2] irqchip/imx-irqsteer: constify irq_chip struct Date: Wed, 6 Apr 2022 18:37:00 +0200 Message-Id: <20220406163701.1277930-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::39 X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 The imx_irqsteer_irq_chip struct is constant data. Signed-off-by: Lucas Stach --- drivers/irqchip/irq-imx-irqsteer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-imx-irqsteer.c b/drivers/irqchip/irq-imx-irqsteer.c index 8d91a02593fc..e286e7c5ccbf 100644 --- a/drivers/irqchip/irq-imx-irqsteer.c +++ b/drivers/irqchip/irq-imx-irqsteer.c @@ -70,7 +70,7 @@ static void imx_irqsteer_irq_mask(struct irq_data *d) raw_spin_unlock_irqrestore(&data->lock, flags); } -static struct irq_chip imx_irqsteer_irq_chip = { +static const struct irq_chip imx_irqsteer_irq_chip = { .name = "irqsteer", .irq_mask = imx_irqsteer_irq_mask, .irq_unmask = imx_irqsteer_irq_unmask, -- 2.30.2