提交 1c33c65c 编写于 作者: J Jason Yan 提交者: Greg Kroah-Hartman

coresight: etb10: Make coresight_etb_groups static

Fix the following sparse warning:

drivers/hwtracing/coresight/coresight-etb10.c:720:30: warning: symbol
'coresight_etb_groups' was not declared. Should it be static?
Reported-by: NHulk Robot <hulkci@huawei.com>
Signed-off-by: NJason Yan <yanaijie@huawei.com>
Signed-off-by: NMathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200518180242.7916-12-mathieu.poirier@linaro.orgSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 ebd9b678
...@@ -717,7 +717,7 @@ static const struct attribute_group coresight_etb_mgmt_group = { ...@@ -717,7 +717,7 @@ static const struct attribute_group coresight_etb_mgmt_group = {
.name = "mgmt", .name = "mgmt",
}; };
const struct attribute_group *coresight_etb_groups[] = { static const struct attribute_group *coresight_etb_groups[] = {
&coresight_etb_group, &coresight_etb_group,
&coresight_etb_mgmt_group, &coresight_etb_mgmt_group,
NULL, NULL,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册