Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2490042rdb; Tue, 12 Sep 2023 03:42:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGT7F5P04KFjkiVipHZtYCYNd8/GqPVa2A56V6nATYkZFHq4PcZ/1FvAcKxtJyKaX2R9xSP X-Received: by 2002:a05:6a00:1354:b0:68b:fb93:5b48 with SMTP id k20-20020a056a00135400b0068bfb935b48mr12562526pfu.18.1694515344623; Tue, 12 Sep 2023 03:42:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694515344; cv=none; d=google.com; s=arc-20160816; b=Sq8iQE9aWFsLcr7mtXA5RUm+bLyxmOg7gvHWOcuaeYqfce5ZJADf+yZZx4mir16heX bdqP1lk9RnDo4JK09jjYHdyVj2EEw/D8KPeakkFawsQlSzVhuLWSy+A+1qjtx/iYq9s3 /HksC5i3GG7GFoXDGTR3JRVb29y/IyDRG4602m7ZxiK+3VrZQKweALzS1WsWfTNnyWOM a3Mkz5Lpn7crDO+IDPYvRq2JffU+YOYCHbVjnGIxVEJ1tPBYCSQET9XIF3ivdBTwng8i lP4m7FAioAbTMaekAU02raFkMdMAgJaOneNJrRwKg8b87AFdTfuN4OY0gUaYNjPUmh3I EC8w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YOt8MObi3EwEd8MaojWICeVg9Wc3NR34oiCfGNrign4=; fh=7xbNZwTym+CKkW9darKiAIrlxwrHvdD9/+5rIv88u2Q=; b=V46J/2i4V9FC6NYw74AdWiyn8lVAf28e7KEgzBLMbVubb7Lj5NZSQcYDZmupWoE0wZ 4/Hw/pkcjlmkdiygc5BVCp285nToBgqYQXWiqcp9WfDoeGbdQ+H996SkOo9z9IHwBl4G oHIJFlf+4WrK3KXomzPLRdz8LjFSytkWoWYD38zL1xiRErlNTXZD/r1avLeuinbfQlmL CTSi9gXsj8ccYe0P8AE9F+LDPMrb0UFF/Fe3H6Vf39deEu+aPMICaP8Mxl4yHy2A6tFb lrIKyi5iLdYuHzadoYjvVm7j4yZ+rUEJ0gxWnYZ2+DWuobFuTRqo/VKWcAJdRB46PrS5 RudQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=EEmXfhVL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id 19-20020a631753000000b0056531bfc660si7871456pgx.143.2023.09.12.03.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 03:42:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=EEmXfhVL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 4A78A801F3F9; Mon, 11 Sep 2023 21:56:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229893AbjILE4U (ORCPT + 99 others); Tue, 12 Sep 2023 00:56:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230216AbjILEze (ORCPT ); Tue, 12 Sep 2023 00:55:34 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60D912704 for ; Mon, 11 Sep 2023 21:53:15 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-52bcd4db4c0so11175554a12.0 for ; Mon, 11 Sep 2023 21:53:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1694494394; x=1695099194; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YOt8MObi3EwEd8MaojWICeVg9Wc3NR34oiCfGNrign4=; b=EEmXfhVLWIBOmRS67+zlhPLXu9K+BH7pdL5wWZoBTHEu256lJQt/22C5vb0xfgLcx7 BvP49C/8icz0iZzOIcL+f1e1iNlIaHCCt48+K9mHf1nnuac49qieAU8YAzwrIM44+F7K Cr0c324763W8HDgogG1AYhIfBclnF/BwmEMKRnKJsfubeuuUpAqX7CAd+cbKlYT0RrlQ ajQ/nkQvtY4BMmhWgTyv3+b2CfGW8g/Apkop7/y4ck3hT3c0VIOOjnJUe+QEWvaBYrpX BSXjAPs7foYb4V/P1CaVVhuTVoISg2atWnKUaz71FoOxXXBPsN4697+hHG01dUkJTG5c WXVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694494394; x=1695099194; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YOt8MObi3EwEd8MaojWICeVg9Wc3NR34oiCfGNrign4=; b=dyrXcWqKKTLGj+U8Cl+nTsJloKxAVDinhNe6jTYe5sL0S600q6wI5TF7jmF04LuV/E ZGRpBK0szP9l+UtDVLO5fs3Op5TlOq2s7sA9S6OKeGfzdEMXAKZXs2STpvepT7eu1jGB bAHuZ3sgbKbZXPReFearIV1t54T7MWBXfwmtu4bD52yr7qs7EX8/4AxM0aoIn60ju0Ki m7bkQfTFbE+vQc6Uk0ZlAVlNhixrrXZddL+mFzQbJIR2e9lo8cGyeZhhK+MzptBmJ/a/ rNU+re8AH5B1x6Tb7VlwL7fs8DbwlAj9Baq6pL5eY8VKtBoG7tuiqkTv+NP0fzwZNIEz w0rg== X-Gm-Message-State: AOJu0YynMRNJlxdhf1y5MFW0SfTJVIKwyOo0MUCRdgPkv4mphl4bu1UB v6ovIVWjWkeIJTpnHbHk1WqZ1w== X-Received: by 2002:a05:6402:f83:b0:52f:a763:aab4 with SMTP id eh3-20020a0564020f8300b0052fa763aab4mr621610edb.5.1694494393949; Mon, 11 Sep 2023 21:53:13 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.145]) by smtp.gmail.com with ESMTPSA id f21-20020a05640214d500b0051e22660835sm5422415edx.46.2023.09.11.21.53.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 21:53:13 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, magnus.damm@gmail.com, catalin.marinas@arm.com, will@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com, quic_bjorande@quicinc.com, arnd@arndb.de, konrad.dybcio@linaro.org, neil.armstrong@linaro.org, nfraprado@collabora.com, rafal@milecki.pl, wsa+renesas@sang-engineering.com Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea Subject: [PATCH 28/37] pinctrl: renesas: rzg2l: make struct rzg2l_pinctrl_data::dedicated_pins constant Date: Tue, 12 Sep 2023 07:51:48 +0300 Message-Id: <20230912045157.177966-29-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230912045157.177966-1-claudiu.beznea.uj@bp.renesas.com> References: <20230912045157.177966-1-claudiu.beznea.uj@bp.renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 11 Sep 2023 21:56:25 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email From: Claudiu Beznea struct rzg2l_pinctrl_data::dedicated_pins is constant thus mark it so. Signed-off-by: Claudiu Beznea --- drivers/pinctrl/renesas/pinctrl-rzg2l.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c index d90ff5ea356d..cf2092d9229d 100644 --- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c +++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c @@ -181,7 +181,7 @@ struct rzg2l_pinctrl_data { const char * const *port_pins; const u32 *port_pin_configs; unsigned int n_ports; - struct rzg2l_dedicated_configs *dedicated_pins; + const struct rzg2l_dedicated_configs *dedicated_pins; unsigned int n_port_pins; unsigned int n_dedicated_pins; const struct rzg2l_hwcfg *hwcfg; @@ -1330,7 +1330,7 @@ static const u32 r9a07g043_gpio_configs[] = { RZG2L_GPIO_PORT_PACK(6, 0x22, RZG2L_MPXED_PIN_FUNCS), }; -static struct { +static const struct { struct rzg2l_dedicated_configs common[35]; struct rzg2l_dedicated_configs rzg2l_pins[7]; } rzg2l_dedicated_pins = { -- 2.39.2