Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1293674pxf; Fri, 19 Mar 2021 04:04:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHvYrOOUirNiPh+SeZufMAGbvbH9QZHg0rwLarbfF4RaIxlcP9tJ9SprS5PFsKy2/K8Io+ X-Received: by 2002:a17:906:cc89:: with SMTP id oq9mr3599101ejb.258.1616151850010; Fri, 19 Mar 2021 04:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616151850; cv=none; d=google.com; s=arc-20160816; b=L/pXFyHhbEQP8zYVFbamPZrQ8I78xXlprweYleZFFniKuhtOFVidxVhpxCERU7jtgv kSsCvOnSQWLIM5rLQKDdUpr6IsqNgcNI16WYTXacW2GA8kHd6gwvIYLGNJPjTNZYDiqD CCA9KrhWWezuhQSQbvAQB5EnF9M17hIwNrK+gH96hU4Hwt3jL+a4NxDVIpOfV+fe5ia2 fkEXxU2pGQailla+VNJ9trdMVUzqTHwIF1MTSX03C5USGR83UEqX2oq8tOnovSCpuiTh Fy6MAyJz36CxT3RaRKxSdeTXpYJCNQEI9ZKCSVD0cPlJcRF61Dgfo9e8hX170tDlZc3j hcPA== 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=CzS3NlE62IcJjUyZ5qk3czC9f+XUZUeA9uXPPXXnAM8=; b=OaclG2nz6UBMXGg66kQ4Q61mzyy6rKR8XKtmYAI9vRHLYZMHiE91Z7B43xHz0x4VZh U1Rp+16iMGDcQsbgwSYEfC9i5SoXlLwQuJF7RU2bwX+77b8twLt4+oYvV72YdeOHBdRm 7sIkYqD1rOdtOCAnD0eg4od1L4G8hsOb3jYJ/LIbFV9NUtrXU2kZ36a7yKkFhXCigUii BVlHMJAZYLBZINgaHgS8ESzSjpFhaibSzshid2k2rH7f4eiqIvTVoZ/p5jFizeALgGbQ wgd/xQmw0BXqbKcEN1QMeHpqYxSSeIvKOOViNvSUjYOP8EjcF+CbMUu7F6NYoTRJMdpx XcoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dtjQRf0C; 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 v5si4024015edc.166.2021.03.19.04.03.46; Fri, 19 Mar 2021 04:04:09 -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=dtjQRf0C; 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 S230221AbhCSLCd (ORCPT + 99 others); Fri, 19 Mar 2021 07:02:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbhCSLCO (ORCPT ); Fri, 19 Mar 2021 07:02:14 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF571C06174A; Fri, 19 Mar 2021 04:02:13 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id o2so2785030plg.1; Fri, 19 Mar 2021 04:02:13 -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=CzS3NlE62IcJjUyZ5qk3czC9f+XUZUeA9uXPPXXnAM8=; b=dtjQRf0CP07sJ2z6Eneel0Gon/lsArlDmbRz3ilHaaIf6tLCjQ75zJ+hQMh90HxX7+ Im7ilddYq70zNTOEkZLRerrCW6QT+mlit1re7YhLWszt/dg8BNF5l/0t2BhlmT9DAUt1 pWc4sKTXeqHAUym9rdNfJjrIuUjaLSKAmPUjt+fgSVi9lZCyOY6lqnevZj2X8cmtD+FR miZoYmsDlr3U/4i9GhNt5If18c1KXoect8VRsOkuembFBKk/MYFcpCe02muVPltNyr+C qZ5EY2SwIDq0UQW9G8kF8t5wwbZ8N1Mfa2Xilw+RXrmSlIJZgVspwC6uXCfF3QFy4vp1 3pkg== 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=CzS3NlE62IcJjUyZ5qk3czC9f+XUZUeA9uXPPXXnAM8=; b=haz9i7FkrCnN5rohFBN8x075uWZCkxWADo4QY1vAnYyji608gXOzCufWbcydfD0mkn eGpDXZsuMTyXiuQfx1f36qisl6Lz+XnjAm7BkhajvxjJFafPjYcYvN9+sV3PLculJthI F4ucehcFaMHue1lapKCO8FUAGUzZofvkwiMEAOp3yoZ0aPB93XesvLWkQWewKMi43uPd 3sqMsVYww4iVDK9CsPsSx1A12BHo+ULzFSetECU5xzOONX/LgXc0QAuleQ5uQhMNCOw4 +7HwsBHwVzgcMxuqamOsrehMiNHbxE2SXRymz5p/HcBEXh7rWm09VWsv7tfuTKGPYFs+ dlEg== X-Gm-Message-State: AOAM5307vFFpt8uP/jgh1LQvJZU2e798Df1xMgik/iij/CYywt9gsPO2 C/uzuIPfRMNIZ4PndcjRya8= X-Received: by 2002:a17:902:70c5:b029:e6:cba1:5d94 with SMTP id l5-20020a17090270c5b02900e6cba15d94mr11170116plt.84.1616151733578; Fri, 19 Mar 2021 04:02:13 -0700 (PDT) Received: from localhost.localdomain ([156.146.35.76]) by smtp.gmail.com with ESMTPSA id i22sm4879042pjz.56.2021.03.19.04.02.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 04:02:13 -0700 (PDT) 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 v10 14/33] counter: interrupt-cnt: Add const qualifier for actions_list array Date: Fri, 19 Mar 2021 20:00:33 +0900 Message-Id: <961bd5450371a32492d5cb189ccfdbe7d9160975.1616150619.git.vilhelm.gray@gmail.com> X-Mailer: git-send-email 2.30.2 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 interrupt_cnt_synapse_actionss to match actions_list. Cc: Oleksij Rempel Signed-off-by: William Breathitt Gray --- drivers/counter/interrupt-cnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/counter/interrupt-cnt.c b/drivers/counter/interrupt-cnt.c index 827d785e19b4..0e07607f2cd3 100644 --- a/drivers/counter/interrupt-cnt.c +++ b/drivers/counter/interrupt-cnt.c @@ -77,7 +77,7 @@ static const struct counter_count_ext interrupt_cnt_ext[] = { }, }; -static enum counter_synapse_action interrupt_cnt_synapse_actionss[] = { +static const enum counter_synapse_action interrupt_cnt_synapse_actionss[] = { COUNTER_SYNAPSE_ACTION_RISING_EDGE, }; -- 2.30.2