Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2879505imw; Sun, 17 Jul 2022 19:42:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tRRHnWnyvOL8ggdGWhU9JGJ5rQLJiLPNvPXeEmQu4+tof7URw3nPra6x9EP4iOzYSOM8vb X-Received: by 2002:a17:907:2c54:b0:72b:64bd:cbf7 with SMTP id hf20-20020a1709072c5400b0072b64bdcbf7mr24090674ejc.116.1658112172386; Sun, 17 Jul 2022 19:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658112172; cv=none; d=google.com; s=arc-20160816; b=SAh6DukdWFXwl80oRY7MTLlf6H5xc+7myH7nUJCgYyXN7ydfrjE33UtKr8Q67Xvhsf kUOGMWRWoaFazDvSHFNwOgWo7YKvVUN6zwsl/5f54cNTTCmkGwwSSnsVzlui5z8/Gbhw IiAUfNwSSjPGIryBNxDsmkMfX3nOhnPfBNdERVKg1TXynO0lwSRi3xlhRCQjARJyFBG9 yzHlHx1E5QmdKrdxYRF3cIKdlDkuV23SrZ0Y8ewJOeOJy0LrCO89r867tlpqV8tn7RN5 WQdWBzouZCN0wEDEM8Wc14WhBOL8yKOpZnIaTHSU+9McZ5r5M/tkILBPHL81O70d4zMf RxOQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=3BjGRHLy/P5muSoNU/Pz9GHQ5lT79yzzrjudG9IvvpQ=; b=UQf4PQwHPvYD/Q1F4du7VIzONU0dkJ24NZhfQYjvrwNrxqhI5VI7/7SabBW5wdyU9a jNZLJsRlSnfoeXeViyR8BtJkQOrIaTyObrGS+n0t2xc+Iy3f/RpWzbyX/OLHf1wFxPux OIGnoReZkdk3dWzdw3UkQ1pGXCtUr7pjH0i3+sawD4zewRofITw8rbU4XHbs6UKHARfa /28jZ1gHa43WlHDeCGbv4Z1KZufH02Pc+ZbYABrsRkZHa5BCMkkr6aiKfx1r6lLnCZgH 9wOCXUHLjKdm2onDrutcUulUBtnASww58xvcgyfigPJiBp3Hr0oppYoiUcliAUTqWCp6 pbOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U0y4ZBls; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js22-20020a17090797d600b0072f09c398b7si10679949ejc.118.2022.07.17.19.42.27; Sun, 17 Jul 2022 19:42:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U0y4ZBls; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233064AbiGRCF7 (ORCPT + 99 others); Sun, 17 Jul 2022 22:05:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230264AbiGRCF5 (ORCPT ); Sun, 17 Jul 2022 22:05:57 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8132211A0F for ; Sun, 17 Jul 2022 19:05:56 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id g17so7805934plh.2 for ; Sun, 17 Jul 2022 19:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3BjGRHLy/P5muSoNU/Pz9GHQ5lT79yzzrjudG9IvvpQ=; b=U0y4ZBls7dp+IJthAqtm3XZcN2mDc6Moz9aOky11OGh5xiAsXPqmRYsA3ASCViImED vpJrYT4RAU/o8wPtQhqFHjcYkKJzY5G5DVfPTTfa0UUkzrJwXVN0Wm7mGz7f//bYkaRf uLDbNup6TOEzG9s3eL6z4z+h8Ena/JD34EfCsDDgjVc6CkEZMz602FQys6VUr388b92k mzcoV/yWkXI3Qs5gRCQGujTZ9y0IGWwMSULp+rPXNnTsMJGgNXBV3cabDo+FHSn+JhT8 VJyK66uhR9Un2xnPRr02kdIGF0IdJIE5fAEvK+BGY9dLg3/K81yUur3oPa0Vc6PxR/eb 9Vng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3BjGRHLy/P5muSoNU/Pz9GHQ5lT79yzzrjudG9IvvpQ=; b=Vo+iBla+493E7LwmCeHrv7tShszHdbRdiTlZmjSpuWyFrXU/XR2XJheOcOiINYMUB1 uZz58mrqrmx0ADRmi8QGj9Pi99W08tH3+H6KZp91EzkNaGgUq+Ff+8E8D0rqBEf//m+g vf0UoeuvWg06nUM8+RESJZm7QrTw7/X05Yr9gxyLk5fQ4ONQHajpCnJshtWVvSr36XIl lNpho5nDFLENBw8NHm39z97vy89+supxwaDH/zvXwGDMn3nbRQ1dQmFE5yPkwKaf9nFf FpDNWbNQpBwKjG1U3AY953nxiQHcleQR9J7B8XHOExwlvuXMfiDumQq77TiET49VAVy3 W57A== X-Gm-Message-State: AJIora+SjwvmRoCQSJZ5Mt8MVz2elSmhhrBF+0PzSlcdNwi5IGf5Hf1p bXrsLjrZKn3hb6h5Bk1Yr4VpqQ== X-Received: by 2002:a17:90b:4d07:b0:1ef:521c:f051 with SMTP id mw7-20020a17090b4d0700b001ef521cf051mr36153656pjb.164.1658109956039; Sun, 17 Jul 2022 19:05:56 -0700 (PDT) Received: from localhost ([122.171.18.80]) by smtp.gmail.com with ESMTPSA id b18-20020aa78ed2000000b00525302fe9c4sm7863809pfr.190.2022.07.17.19.05.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 19:05:55 -0700 (PDT) From: Viresh Kumar To: "Rafael J. Wysocki" , Viresh Kumar , Thierry Reding , Jonathan Hunter , Sumit Gupta Cc: linux-pm@vger.kernel.org, Vincent Guittot , kernel test robot , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] cpufreq: tegra194: Staticize struct tegra_cpufreq_soc instances Date: Mon, 18 Jul 2022 07:35:48 +0530 Message-Id: <5c1a9b405d96848f2dac9aefcef121ad178872f4.1658109927.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.31.1.272.g89b43f80a514 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix sparse warnings by marking these structures static. Fixes: 273bc890a2a8 ("cpufreq: tegra194: Add support for Tegra234") Reported-by: kernel test robot Signed-off-by: Viresh Kumar --- drivers/cpufreq/tegra194-cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/tegra194-cpufreq.c b/drivers/cpufreq/tegra194-cpufreq.c index 2a6a98764a8c..1216046cf4c2 100644 --- a/drivers/cpufreq/tegra194-cpufreq.c +++ b/drivers/cpufreq/tegra194-cpufreq.c @@ -162,7 +162,7 @@ static struct tegra_cpufreq_ops tegra234_cpufreq_ops = { .set_cpu_ndiv = tegra234_set_cpu_ndiv, }; -const struct tegra_cpufreq_soc tegra234_cpufreq_soc = { +static const struct tegra_cpufreq_soc tegra234_cpufreq_soc = { .ops = &tegra234_cpufreq_ops, .actmon_cntr_base = 0x9000, .maxcpus_per_cluster = 4, @@ -430,7 +430,7 @@ static struct tegra_cpufreq_ops tegra194_cpufreq_ops = { .set_cpu_ndiv = tegra194_set_cpu_ndiv, }; -const struct tegra_cpufreq_soc tegra194_cpufreq_soc = { +static const struct tegra_cpufreq_soc tegra194_cpufreq_soc = { .ops = &tegra194_cpufreq_ops, .maxcpus_per_cluster = 2, }; -- 2.31.1.272.g89b43f80a514