Skip to content

Commit 09c0533

Browse files
soc: sifive: l2 cache: Mark l2_get_priv_group as static
The kbuild test robot is firing a warning over a missing prototype. The function can just be static. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent b4a4f03 commit 09c0533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/soc/sifive/sifive_l2_cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static const struct attribute_group priv_attr_group = {
133133
.attrs = priv_attrs,
134134
};
135135

136-
const struct attribute_group *l2_get_priv_group(struct cacheinfo *this_leaf)
136+
static const struct attribute_group *l2_get_priv_group(struct cacheinfo *this_leaf)
137137
{
138138
/* We want to use private group for L2 cache only */
139139
if (this_leaf->level == 2)

0 commit comments

Comments
 (0)