From patchwork Thu Oct 27 15:48:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 619774 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 228FAECAAA1 for ; Thu, 27 Oct 2022 15:48:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236018AbiJ0Psz (ORCPT ); Thu, 27 Oct 2022 11:48:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235531AbiJ0Psy (ORCPT ); Thu, 27 Oct 2022 11:48:54 -0400 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9391F1911C5 for ; Thu, 27 Oct 2022 08:48:53 -0700 (PDT) Received: by mail-qk1-x732.google.com with SMTP id j21so1224398qkk.9 for ; Thu, 27 Oct 2022 08:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7bd2o65SJMz3i5RcjHxiT/cYGibvGVX6duHYP/0Qh1k=; b=cm7aFwKkZHCD6OoM+YEoDZXCH9vzy1bIwzrlS6smcZCpQrIdbxy9i74nm7AGoqyZT+ 2kaHC1NJfIb1owR4fblwFtimEy/eOXTGf0hmBri7WeqZAipVA+CO8CKcdKGB4j3DTHad IhQ4yW+dYrHc8wdKHvVf4yT8ZiEkjN/laQY71NbN6/JeqHgMDXwVfv27J+/9/A0uOht5 OG3V7CAqhlXbJaXscctXNiN7THcpgslGiYtkN0bxtCUrn0vvN+DlxXSh7GaAop1EXH2p RV6ki5ReDChYY3/M210eBDG1KQkVj3DVsBDp1QiGzWkK/7eAqGIj+e2bZcgWuOIHIVfH aXOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7bd2o65SJMz3i5RcjHxiT/cYGibvGVX6duHYP/0Qh1k=; b=hUZvxngUDCQkCREgSPyyHtqoDhtg9CV8erinlwuoZlLDtFzP+hpiTG32b0qoSjMorX ryrDS9mfffho+l0A3Hlyy8Ppe7mAVYosCeSqfxd3JxwJRFk9gIVCwbH/5KycUJccZ6/5 fgxieUi9MSPdukwTmBn616T6gzcaIsESWNkpoHwZOsfu5FQ9TwSwhdI94BUm4ToA71RH WVKs0OI2dUd5uSPdZQrr7qZZHMKAe2yJ+0/3b8Ul4sMx/qC3gQH+vcJFp4U9Ix3/Twl8 n7clvl+1MxpjwUKOHhWL4usGh7AGrmSOpoNPNrfz69jI0tHVW+k1YK7BCkP3NLkA8vEU ujxA== X-Gm-Message-State: ACrzQf3uvH8ayX0OYrWFlMyU8mXf1tOzx2s9Al35lHj7GDnQY3BKIUhg lmocJ9iDKYzwEBAK6g1iv+30fQ== X-Google-Smtp-Source: AMsMyM5qEVOnPgHTsEpHls014vI8BMePU6289s67Xrr/CbE3MVgIguufqEtjNgKAdTuipUmjjBJw7A== X-Received: by 2002:a05:620a:29c6:b0:6ee:cf89:40cb with SMTP id s6-20020a05620a29c600b006eecf8940cbmr35399092qkp.107.1666885732747; Thu, 27 Oct 2022 08:48:52 -0700 (PDT) Received: from krzk-bin.. ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id w29-20020a05620a095d00b006eecc4a0de9sm1168531qkw.62.2022.10.27.08.48.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 08:48:52 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] interconnect: qcom: sc7180: fix dropped const of qcom_icc_bcm Date: Thu, 27 Oct 2022 11:48:46 -0400 Message-Id: <20221027154848.293523-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Pointers to struct qcom_icc_bcm are const, but the change was dropped during merge. Fixes: 016fca59f95f ("Merge branch 'icc-const' into icc-next") Signed-off-by: Krzysztof Kozlowski --- drivers/interconnect/qcom/sc7180.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/interconnect/qcom/sc7180.c b/drivers/interconnect/qcom/sc7180.c index 35cd448efdfb..82d5e8a8c19e 100644 --- a/drivers/interconnect/qcom/sc7180.c +++ b/drivers/interconnect/qcom/sc7180.c @@ -369,7 +369,7 @@ static const struct qcom_icc_desc sc7180_gem_noc = { .num_bcms = ARRAY_SIZE(gem_noc_bcms), }; -static struct qcom_icc_bcm *mc_virt_bcms[] = { +static struct qcom_icc_bcm * const mc_virt_bcms[] = { &bcm_acv, &bcm_mc0, }; From patchwork Thu Oct 27 15:48:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 619773 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EC57FA3742 for ; Thu, 27 Oct 2022 15:49:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235531AbiJ0Ps7 (ORCPT ); Thu, 27 Oct 2022 11:48:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235850AbiJ0Ps4 (ORCPT ); Thu, 27 Oct 2022 11:48:56 -0400 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87D861911D3 for ; Thu, 27 Oct 2022 08:48:55 -0700 (PDT) Received: by mail-qk1-x732.google.com with SMTP id f8so1234904qkg.3 for ; Thu, 27 Oct 2022 08:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ok5YczXeYgFH3KkWRJeD3ThUmyIdclOzGP9hF6iMn2I=; b=oLIW2VEn+aAH0FJVHFh3KZyB76pStCC7ZV0jXGyY1lW4c7g5usHF269VuRfEYx40eB r965gAkz3t02lBoY14bjpGX0HHFct+GlJdm/C4VLTuWcrvuviS7E4lxiGBOfl/Zm4XGD I2XE1jbdfpr/wGMWxu19QeR9nLYyBX5lZDp4I739ZssOxCq1qL30FdyIdXgNlbfOyum2 8crjWwcGaHt/AQjBuzYumzcOuyHQGlYoIohuxP0xquHLiq5J8IoVUyW47p039Gap28l5 Rvbl5DR7wW3ecICTFSeTJZmv9oKPxK4asdUCSs1cbdBNrjjapAghkoIWq9tknjt3AdpQ AJWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ok5YczXeYgFH3KkWRJeD3ThUmyIdclOzGP9hF6iMn2I=; b=BpN1itOaFosXLEWPwGNhdGnsKl6mSY2B2LEUl7rRZ0w8qdIoR1DP1h5OkOL8O5OxwR hm/GD9KyOa/yHyz9CDawt0gHEDuJqbF4SpzI1iXZ2pIxzu3qoU4BbD1VJkjhPzYcMUr6 vVYdAiN559Kx7udaCE3it5j7EBibmihF2MjD4nrx9cdFY9AR5bryEZfXYGuHfWvwWl42 yD6Z0GPe3XOovJHb4oELUiQIcKOjLaniscejYfFBplKUZOiwPOEHJZ/oQ/T0wLydmZfG ozB1ICGttWHcORlxzCYZ42Lu1raMMnb7qTtTZJKeI4LWf3lUpviCFyuQ8SFSIeNJWMAM w+6Q== X-Gm-Message-State: ACrzQf2XSeqY9z96NuQoe2A2+16yOae2n2tCTcGLXHnDI9NMTFXi/SOP hFjKu1NqWkQPTkj+i+3HCtdFwA== X-Google-Smtp-Source: AMsMyM4GOLZ58ai8r4aTlawgYAVsl2fMHKVGMvQ2pcqgQiPi/y0egt89A4ETJ6L2xlFgv5cwfkri7Q== X-Received: by 2002:a05:620a:4884:b0:6f3:91b8:4bf7 with SMTP id ea4-20020a05620a488400b006f391b84bf7mr18635900qkb.167.1666885735251; Thu, 27 Oct 2022 08:48:55 -0700 (PDT) Received: from krzk-bin.. ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id w29-20020a05620a095d00b006eecc4a0de9sm1168531qkw.62.2022.10.27.08.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 08:48:54 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] interconnect: qcom: sc8180x: constify pointer to qcom_icc_node Date: Thu, 27 Oct 2022 11:48:48 -0400 Message-Id: <20221027154848.293523-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221027154848.293523-1-krzysztof.kozlowski@linaro.org> References: <20221027154848.293523-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Pointers to struct qcom_icc_node are const. Signed-off-by: Krzysztof Kozlowski --- drivers/interconnect/qcom/sc8180x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/interconnect/qcom/sc8180x.c b/drivers/interconnect/qcom/sc8180x.c index 8e32ca958824..0f515bf10bd7 100644 --- a/drivers/interconnect/qcom/sc8180x.c +++ b/drivers/interconnect/qcom/sc8180x.c @@ -1889,7 +1889,7 @@ static struct qcom_icc_bcm * const qup_virt_bcms[] = { &bcm_qup0, }; -static struct qcom_icc_node *qup_virt_nodes[] = { +static struct qcom_icc_node * const qup_virt_nodes[] = { [MASTER_QUP_CORE_0] = &mas_qup_core_0, [MASTER_QUP_CORE_1] = &mas_qup_core_1, [MASTER_QUP_CORE_2] = &mas_qup_core_2,