perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
[platform/kernel/linux-rpi.git] / arch / x86 / events / intel / core.c
index e2a7082..12453cf 100644 (file)
@@ -3989,7 +3989,7 @@ static struct attribute *intel_pmu_caps_attrs[] = {
        NULL
 };
 
-DEVICE_BOOL_ATTR(allow_tsx_force_abort, 0644, allow_tsx_force_abort);
+static DEVICE_BOOL_ATTR(allow_tsx_force_abort, 0644, allow_tsx_force_abort);
 
 static struct attribute *intel_pmu_attrs[] = {
        &dev_attr_freeze_on_smi.attr,