From patchwork Wed Jun 9 01:31:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Breathitt Gray X-Patchwork-Id: 12308617 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7190AC48BCD for ; Wed, 9 Jun 2021 01:37:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 456B161182 for ; Wed, 9 Jun 2021 01:37:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 456B161182 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dua7gI+bvO3ETD47JjRoGyjSyShB6RoZ5Pr1SccSLKY=; b=lRq37SP++isOp9 AvfTQQomuG3hlDnyEUq0Yf3BsB0dI2A2KCKVgq08cEv6YVCrh/29ZUeg70Hk6khtH1iWxb7HoC46J BjBunbVKpKrKxXt7c3W4S3wA2SVpf3CRSk2sv9P/S/rPV6Wq25cfwzucGGNzMK74eIt6f+VUcgJjG pU1iEJSNcaSLvKFZl07tefjZki/z4Fn3QSd6v2+khDu5XHbJ48hF32/raoTol2JRWOBGeCPLSg0HI Yusc3xmNcUr+21OYbe9s5qI+SW+d2Ya/+VdOOWCI2uwI/zvIuUFso9OsNUDB4alsw6syT0pqC3Sy1 YC5FxK55bmhtaS38DbOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqn7o-00B9sK-Ik; Wed, 09 Jun 2021 01:35:21 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqn5Z-00B8vj-DV for linux-arm-kernel@lists.infradead.org; Wed, 09 Jun 2021 01:33:02 +0000 Received: by mail-pj1-x1034.google.com with SMTP id b15-20020a17090a550fb029015dad75163dso439023pji.0 for ; Tue, 08 Jun 2021 18:33:01 -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=Lw85OY9IsEQkeBky8rQsiGABab3FzcsYXmNq0PU+6y0=; b=Wfncoto56Nnmo+4w8Z+qxMwcdO9zZDMQwYTo1BRw2xORjxeCGglPpRO1Kb6UuuFMR/ gFjdGSAJvlZ/0DnwcfN5XQmqy6pTvpX2rJlce/wXRRyLqJMy9B1/qKnTvWNQEhO6IR6s iGhK9GsKdMAO16cnTVBxhxVefl0KwsVjJbDj+u9Pma8RykOLrgU8kFDhbeDuLu9wkR2o z11kDN/8/hqSvyuvfxgkPVem2rhR6kaJ9C+1LKR1rsV4uwTA24T9B/ef6PK9z6Y1Qwll rHmruZTFGxc4fe9Si6kuMROCJLh97s2R/ZiBeUrGMTAMsdIsnfzHMsbreiO25ThM2HCX xNcQ== 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=Lw85OY9IsEQkeBky8rQsiGABab3FzcsYXmNq0PU+6y0=; b=QMp3k/a/8AyR6cQZlEHsZaVVCkSDBz4T49JS1fx10Bq8OFZIhLWz9DQ+UUotXVIPAr 66ijoVZ0z8QkH3+THU9sgV7ZRzWM/e86Pp8yiHtVKrCF7blq5U3qdZkGKGKLLkheAZLI O3X5rlk41pQ8jXaD5peGpADW8zqU7eYoseU6kkaRWx3h2SKjb7uq+E86DZco1KbBuuKG 6lF+Ud1J7NoZNv2Fe3R74vuRdPivvT98Ed3r7JgYHpfpz4KsspW72EN+0WSxNMlI7H7R xLf3DhVko+AHPupdfGKQ9jwjX1Mnq8Y73Cd5golzQJVfgtMPg324L+i+SzHyCbeRX9Tn 5pTA== X-Gm-Message-State: AOAM532gVz7V+9nYKUI4xNIjHX9oVfq8EXqqAO50MUXcpM8UA4zYSScN qHowO6ReW+kAwqCLA9jHXBc= X-Google-Smtp-Source: ABdhPJwUKxbd6KAFcOZwqLerEiDxQZpMz2EYRlzoI+lmPjPlPXIz2hVf9gZtdqAD8keK/olId5lsqQ== X-Received: by 2002:a17:90a:117:: with SMTP id b23mr29364330pjb.183.1623202380699; Tue, 08 Jun 2021 18:33:00 -0700 (PDT) Received: from localhost.localdomain ([156.146.35.76]) by smtp.gmail.com with ESMTPSA id v14sm12659815pgl.86.2021.06.08.18.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 18:33:00 -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 14/33] counter: interrupt-cnt: Add const qualifier for actions_list array Date: Wed, 9 Jun 2021 10:31:17 +0900 Message-Id: X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210608_183301_493031_22E7E451 X-CRM114-Status: GOOD ( 13.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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, };