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: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20200518180242.7916-12-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ebd9b67850
commit
1c33c65cfe
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue