Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2543939pxb; Tue, 9 Mar 2021 05:23:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzPkd2GTKnb6dSTF0GTNQzvl7r1Na2RzATMRLRI8ndBcOt/bBv1TTUPjlpG+oGSN8Z/qL8R X-Received: by 2002:a17:906:9501:: with SMTP id u1mr20558877ejx.324.1615296205198; Tue, 09 Mar 2021 05:23:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615296205; cv=none; d=google.com; s=arc-20160816; b=VXjlezclc53ux5DV2XEEFUDbz+XEPcRW9dqTmladRA1YnThLA0QE27DY6g+V2l2j5S B15KvkMMitsm1wDmcQrAUHZWpfcKvBUgygUOciTjbhNl3EA/yHpdj0KoGPoD1T0WgWub AUjUpZjRpodSV8B6EvLa0MQqj2CSv+msa7ABMa/O4iZgXIoxTL4wVzpEVfRBwlU4MyTu R/LJRbgw4pqlnC3+woWHKZuQhLSBlvhDrRw5aFW4gEzEG43WnzXRNW18vuoSkhf2mkx3 LWrfuOqJFoeQoubdS4LiZMnZY/NQWE9TOpWJd29748tXbuHY81mXSMtjfYPb37a2olAs r7Zw== 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=t3RYDFFjHkpdIJ04TsWBr8TmaLo8cU+WLWiTJPwxr6A=; b=A5t/19olU36YMEuJKNS1V7fs2zwe80KCYHUaBptQB+R9Yq7GaQ9ObsRCndw4duzMfX YudhftaxmUgqOSkSqV4fCXadmv3IZ0zvzypecB4zqvP54jk99b+kOSlZE4yKycRWQFsl WiiqZ3YLj43hILWzZh9LBONmeB6rzZl7MS6vAfUqXIxHrTnn9Ab/yj9qvDAlyCj/DaaQ lFbGNmfXHkK/rJ+7MDB9imoqqIDRJ+rByKDAwErY9k/D+UdTlqWQR1QIOC1QQ6PsFzqC O2/Bnp7Z3h09DYp9fp7jxxfMUeXzQieYnLf7XbPZMoKi9fmeRitH66Cm8lmHpYwtKGIx UBvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cPm80utE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z11si9328976edp.546.2021.03.09.05.23.02; Tue, 09 Mar 2021 05:23:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cPm80utE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231543AbhCINVm (ORCPT + 99 others); Tue, 9 Mar 2021 08:21:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230086AbhCINVT (ORCPT ); Tue, 9 Mar 2021 08:21:19 -0500 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FD39C06174A; Tue, 9 Mar 2021 05:21:19 -0800 (PST) Received: by mail-pg1-x529.google.com with SMTP id w34so7691000pga.8; Tue, 09 Mar 2021 05:21:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t3RYDFFjHkpdIJ04TsWBr8TmaLo8cU+WLWiTJPwxr6A=; b=cPm80utEO4gK7NjFC0zhB5gCOPQtq5RrNUNd9cA58RKV54Pyfn5Ple+ImuNJKzBvpt n8wndmxhEJq8BsaC+on7Q07Q9RHLFCNoxNaPe97INCetElIrmTqsj+Bwb9lPnVIRGw1g Un727QcUYB5HiVK+udGrEKeO9EX8vCZYnIbjKJWtph48VCX2XFggT0wmSwc3TO0ybB5z CBXoOaDrVfuxpGeV99w8q8QegdY1RsYgGuSbz9gBE4n6XusXJbjRBb1RvX4eDWh0EO4l K58k5bv/48LTWLNqywOg69rT+vHYe/T9mxJJjOsyCGOR24wHn0wqcfvJkzzq0n+h9zZ5 wnlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t3RYDFFjHkpdIJ04TsWBr8TmaLo8cU+WLWiTJPwxr6A=; b=nHx1J2jp7uUmz3YSy/zap8/+7HjrZ6AOg7BN9+piOF0qlEaBMeAJSI4MEa2hz5y1SC uIP7G5blD5Aw/RDifzfMQHnTYVaFgOVcM3UR66Bi9+y72W28orHVjOkg1nP7/EvVOE+W w7LxNuFry7c2wtu5NZqPs1yXis7OfgLRXIWWix5gYKO2lH1Ks2t8bblcjd0fFe/+Bs6T DHT2UoecmyWnK6AqJIffrZkm7WGXGh3IgNBCJKf+96qGGs+AvsqgiHLv2yHBqfvyk6f0 rYmElM+/7f1I4Xg4h+kNzx3/4AE2Jq5EBiN++7BFvhm1v+VV55h8CccrlwlQb8/bfnoG hDGQ== X-Gm-Message-State: AOAM532ZEO8hhM/QmSPY2l5f3f7ZwZ+cB9hFw4z4pBW6AUkkRre9NXqJ /WbDd2PGyTabC8T1CNZFfbNhNOG9frDaXA== X-Received: by 2002:a63:d242:: with SMTP id t2mr24853367pgi.431.1615296079245; Tue, 09 Mar 2021 05:21:19 -0800 (PST) Received: from localhost.localdomain ([156.146.35.76]) by smtp.gmail.com with ESMTPSA id y9sm7647421pfl.201.2021.03.09.05.21.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 05:21:18 -0800 (PST) From: William Breathitt Gray To: jic23@kernel.org Cc: kernel@pengutronix.de, linux-stm32@st-md-mailman.stormreply.com, a.fatoum@pengutronix.de, kamel.bouhara@bootlin.com, gwendal@chromium.org, alexandre.belloni@bootlin.com, david@lechnology.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, syednwaris@gmail.com, patrick.havelange@essensium.com, fabrice.gasnier@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, o.rempel@pengutronix.de, William Breathitt Gray Subject: [PATCH v9 13/33] counter: ftm-quaddec: Add const qualifier for actions_list array Date: Tue, 9 Mar 2021 22:19:26 +0900 Message-Id: X-Mailer: git-send-email 2.30.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The struct counter_synapse actions_list member expects a const enum counter_synapse_action array. This patch adds the const qualifier to the ftm_quaddec_synapse_actions to match actions_list. Cc: Patrick Havelange Signed-off-by: William Breathitt Gray --- drivers/counter/ftm-quaddec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/counter/ftm-quaddec.c b/drivers/counter/ftm-quaddec.c index c2b3fdfd8b77..9371532406ca 100644 --- a/drivers/counter/ftm-quaddec.c +++ b/drivers/counter/ftm-quaddec.c @@ -162,7 +162,7 @@ enum ftm_quaddec_synapse_action { FTM_QUADDEC_SYNAPSE_ACTION_BOTH_EDGES, }; -static enum counter_synapse_action ftm_quaddec_synapse_actions[] = { +static const enum counter_synapse_action ftm_quaddec_synapse_actions[] = { [FTM_QUADDEC_SYNAPSE_ACTION_BOTH_EDGES] = COUNTER_SYNAPSE_ACTION_BOTH_EDGES }; -- 2.30.1