Skip to content

Commit 1c33c65

Browse files
JasonYanHwgregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Jason Yan <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ebd9b67 commit 1c33c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwtracing/coresight/coresight-etb10.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ static const struct attribute_group coresight_etb_mgmt_group = {
717717
.name = "mgmt",
718718
};
719719

720-
const struct attribute_group *coresight_etb_groups[] = {
720+
static const struct attribute_group *coresight_etb_groups[] = {
721721
&coresight_etb_group,
722722
&coresight_etb_mgmt_group,
723723
NULL,

0 commit comments

Comments
 (0)