mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
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 <lkp@intel.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
b4a4f036e8
commit
09c0533d12
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user