[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200528224353.32559-2-palmer@dabbelt.com>
Date: Thu, 28 May 2020 15:43:53 -0700
From: Palmer Dabbelt <palmer@...belt.com>
To: linux-riscv@...ts.infradead.org
Cc: Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>, yash.shah@...ive.com,
anup@...infault.org, bp@...e.de, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org, kernel-team@...roid.com,
kernel-team@...roid.com, Palmer Dabbelt <palmerdabbelt@...gle.com>,
kbuild test robot <lkp@...el.com>
Subject: [PATCH 2/2] soc: sifive: l2 cache: Mark l2_get_priv_group as static
From: Palmer Dabbelt <palmerdabbelt@...gle.com>
The kbuild test robot is firing a warning over a missing prototype. The
function can just be static.
Reported-by: kbuild test robot <lkp@...el.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@...gle.com>
---
drivers/soc/sifive/sifive_l2_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/sifive/sifive_l2_cache.c b/drivers/soc/sifive/sifive_l2_cache.c
index 51e198880a8d..44d7e1951da3 100644
--- a/drivers/soc/sifive/sifive_l2_cache.c
+++ b/drivers/soc/sifive/sifive_l2_cache.c
@@ -133,7 +133,7 @@ static const struct attribute_group priv_attr_group = {
.attrs = priv_attrs,
};
-const struct attribute_group *l2_get_priv_group(struct cacheinfo *this_leaf)
+static const struct attribute_group *l2_get_priv_group(struct cacheinfo *this_leaf)
{
/* We want to use private group for L2 cache only */
if (this_leaf->level == 2)
--
2.27.0.rc0.183.gde8f92d652-goog
Powered by blists - more mailing lists