From: Fengguang Wu Subject: [PATCH mmotm] x86: rapl_attr_groups[] can be static TO: Christoph Lameter CC: Johannes Weiner CC: linux-kernel@vger.kernel.org CC: Christoph Lameter CC: Johannes Weiner Signed-off-by: Fengguang Wu --- perf_event_intel_rapl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel_rapl.c b/arch/x86/kernel/cpu/perf_event_intel_rapl.c index d0dbcdf..cf4aaf3 100644 --- a/arch/x86/kernel/cpu/perf_event_intel_rapl.c +++ b/arch/x86/kernel/cpu/perf_event_intel_rapl.c @@ -441,7 +441,7 @@ static struct attribute_group rapl_pmu_format_group = { .attrs = rapl_formats_attr, }; -const struct attribute_group *rapl_attr_groups[] = { +static const struct attribute_group *rapl_attr_groups[] = { &rapl_pmu_attr_group, &rapl_pmu_format_group, &rapl_pmu_events_group,