Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5141370pxj; Wed, 9 Jun 2021 10:03:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQcEfzBAVduuZ9uOsRsIoY80FnKQxk6kWG+XkDQayFB3Ir/zb7v7dOeIh7pooBAKuRIlWW X-Received: by 2002:a17:906:4d04:: with SMTP id r4mr860389eju.76.1623258223690; Wed, 09 Jun 2021 10:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623258223; cv=none; d=google.com; s=arc-20160816; b=Ej4zSTo3WrfrGyU+YPxz2FCh0HcZ4GLzhi1+S21TkOt2kgYLLS499LOA17IYzyMr5/ ZhdSr7Ta5mBvCgQ5AKVac2r58DuhuZtgrCKpskfbJqCrfnm2YNm4JnDKJ7zWrX6+Mxbf 29zMxm5y8eFLQuHI/CEiTTdkNcwyiTsv78EFMZKM/zMeZ/hVZTCTNUgGPg9+KpJF1rp3 VlmmnTXXXj4qFEn4OGN5mDznyFnW4UMSlkjQJj3bAqAZFvP6OO4W7qL7DUGnnnJukCNf ovSsCXIR7BHV/Kl4GH4q3vXKI5ceQX/h4/2R68Nce25EWYWUHf7UbFD/IZ/KaQ9B6Oab a/zw== 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=JrquYkvxwwxaQpkei8svMskXgimhFQ45B33xBG8Z/x4=; b=rlwF9X7Rrf4IE76UhvZuoTEggplmSr0AUQ3fitYBsrrE4BDRC3mP8Sc/qWFe74Gzlo 6WJcisU5M1zKj7X4ym/AMKunEytKQcKi0t5RO5x2jspIPS+9OKeVlfGS/fx2KnABJ+5U 88cxCCvZ9dgbLBUL/CHtHvTihfzlmHToe2rMaFJv+7NQTTke6RUjBsTYe2gh6/WgCSF0 AB1ZnuaiMlN6HXo+g+nNgtO7+8hq1ODg5Li44Wh3GtmcfyG4MXNhWAMrZNA7xtlasH41 g8tUyv+H1yESKfofw/CdBorI7UdareeiN4Sddzl6ls1j9JGbdg98dlh4o6mZYxiE9X7c A4XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IqBtJ7TB; 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 x10si263066ejc.578.2021.06.09.10.03.17; Wed, 09 Jun 2021 10:03:43 -0700 (PDT) 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=IqBtJ7TB; 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 S235695AbhFIBfN (ORCPT + 99 others); Tue, 8 Jun 2021 21:35:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235691AbhFIBfG (ORCPT ); Tue, 8 Jun 2021 21:35:06 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16F27C061789; Tue, 8 Jun 2021 18:32:56 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id g6-20020a17090adac6b029015d1a9a6f1aso2723713pjx.1; Tue, 08 Jun 2021 18:32:56 -0700 (PDT) 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=JrquYkvxwwxaQpkei8svMskXgimhFQ45B33xBG8Z/x4=; b=IqBtJ7TBH5T+FDg/B2YXmXc8Fl+/QP9kZ4QjcS+30KTAuNuvpZneMez8fxV/jWTCWE mGYXtaQZsZb/Gk5rwrji15SrSNxCwBMCYF7BBYs3Q0HuURNiNc3ExBYk3+EkFKegaNP6 RFTKR9dNSu7kXFyGPDFEjEqujqzIA3kSL8prTA1gbCbKDLQQzxI1fTrGqdVTbGFuCzH0 skqeyZcMG4IqGANLsmnODTSHf0YM0nr0Af9XXJwvOrDr2/aQxX6jwjCMZMriVZVxOfMA XC0uk0Y+CFQ+NwhTGxbFtYWYy6CIYCsPvcB9SpiRz9UUoolce6ciK5uPH22fUNIv3Nwb tS8Q== 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=JrquYkvxwwxaQpkei8svMskXgimhFQ45B33xBG8Z/x4=; b=nJEZoQ4vGWsv1E0fmDrkMRljOigJJVEHDDyePIt8SAoB9zzUCOdCg2dVOxqBBkH81A 7tWq1WnuYsa/JibQTcbY9yjpJ0q+FFBCCOBurKNinSm72tBgFPVmOY2zDrMtSS4Gim4l WY3WpLu2X7ibLlkRCUgE3ojRHbY2yAZ3jxgmrozYZ0YpxFsRLzCSSiicMs/MULd2NQP9 b7BQalpJQild2+PKptkchtUzFsEoT7rSEEU9n4/MUtQ42yZIgIIIW1A5mGM41TdrLBFR 3nR20OQep3myKKSeqHvQwwpzpeC5qjXu6F40I4dYwNVsWiodv/raQm8RkM9MxzDb4faL guLA== X-Gm-Message-State: AOAM5329wnvyp4zl2uvQgNcBGbZBQdNH/6LkE78I6s8xKwfYG+fiCr5G IYm/C3vpXqZC2W/11+fax9Q= X-Received: by 2002:a17:902:7c92:b029:111:2ca8:3d8e with SMTP id y18-20020a1709027c92b02901112ca83d8emr2569557pll.77.1623202375667; Tue, 08 Jun 2021 18:32:55 -0700 (PDT) Received: from localhost.localdomain ([156.146.35.76]) by smtp.gmail.com with ESMTPSA id v14sm12659815pgl.86.2021.06.08.18.32.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 18:32:55 -0700 (PDT) From: William Breathitt Gray To: jic23@kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com, kernel@pengutronix.de, 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, jarkko.nikula@linux.intel.com, William Breathitt Gray Subject: [PATCH v11 13/33] counter: ftm-quaddec: Add const qualifier for actions_list array Date: Wed, 9 Jun 2021 10:31:16 +0900 Message-Id: X-Mailer: git-send-email 2.32.0 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.32.0