From patchwork Mon Dec 11 15:42:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 752769 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="O8x6DXn9" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7372BD; Mon, 11 Dec 2023 07:42:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702309367; x=1733845367; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4AuaSAqga/dVILmnPhrkc9jm8ft7ImJB/u3/MqEmVeU=; b=O8x6DXn9HCfeAhlNOPQF8SFDoockVpU1TTJ1T+up+02HVXi8kOT9a8OR i2vwqf4FCDRdfJn/mu87jNE8yi+35U9006CVRYHjrrvePZzzi/2eHn8uO boqg++xbsaYIh+6ZrN+m7w0Y5wYhQRy2w/TAIkr5063/K9TdiC92NDe0m E1UfbSCUGbxOaLFGOkkzf1GYvddmt8SPBAL3h7b0vLc7rZ4wTZgVtk2X0 ZdlS6C49haGClTKKd+D28xT0U/jPynvvwCjlqySwU0EVICg4RG3arCiA6 e0CEy/ZrCmBkWnYsaR8oVJdp7xVl+RdSRdAmjoyMk7EMe3gBubT+1zZDL g==; X-IronPort-AV: E=McAfee;i="6600,9927,10921"; a="1535070" X-IronPort-AV: E=Sophos;i="6.04,268,1695711600"; d="scan'208";a="1535070" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Dec 2023 07:42:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10921"; a="1104506746" X-IronPort-AV: E=Sophos;i="6.04,268,1695711600"; d="scan'208";a="1104506746" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 11 Dec 2023 07:42:45 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 2C1D039B; Mon, 11 Dec 2023 17:42:44 +0200 (EET) From: Andy Shevchenko To: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Linus Walleij , openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andy Shevchenko Subject: [PATCH v1 1/1] pinctrl: nuvoton: Constify wpcm450_groups Date: Mon, 11 Dec 2023 17:42:39 +0200 Message-ID: <20231211154239.4190429-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 There is no modifications are assumed for wpcm450_groups. Constify it. Signed-off-by: Andy Shevchenko --- drivers/pinctrl/nuvoton/pinctrl-wpcm450.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/nuvoton/pinctrl-wpcm450.c b/drivers/pinctrl/nuvoton/pinctrl-wpcm450.c index 4589900244c7..cdad4ef11a2f 100644 --- a/drivers/pinctrl/nuvoton/pinctrl-wpcm450.c +++ b/drivers/pinctrl/nuvoton/pinctrl-wpcm450.c @@ -474,7 +474,7 @@ enum { #undef WPCM450_GRP }; -static struct pingroup wpcm450_groups[] = { +static const struct pingroup wpcm450_groups[] = { #define WPCM450_GRP(x) PINCTRL_PINGROUP(#x, x ## _pins, ARRAY_SIZE(x ## _pins)) WPCM450_GRPS #undef WPCM450_GRP