summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2016-05-01 22:11:59 +0200
committerDarren Hart <dvhart@linux.intel.com>2016-05-05 13:58:55 -0700
commit775d054aba90a2c787d4c081d6369f1fddaae0f4 (patch)
treea4a0bdf6317695e6e15e7046368585bc558cd29e /arch/x86
parent575b245d9047d190c8cbc44e2f0ef14897836292 (diff)
downloadtalos-obmc-linux-775d054aba90a2c787d4c081d6369f1fddaae0f4.tar.gz
talos-obmc-linux-775d054aba90a2c787d4c081d6369f1fddaae0f4.zip
intel_telemetry: Constify telemetry_core_ops structures
The telemetry_core_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/intel_telemetry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/intel_telemetry.h b/arch/x86/include/asm/intel_telemetry.h
index ed65fe701de5..85029b58d0cd 100644
--- a/arch/x86/include/asm/intel_telemetry.h
+++ b/arch/x86/include/asm/intel_telemetry.h
@@ -99,7 +99,7 @@ struct telemetry_core_ops {
int (*reset_events)(void);
};
-int telemetry_set_pltdata(struct telemetry_core_ops *ops,
+int telemetry_set_pltdata(const struct telemetry_core_ops *ops,
struct telemetry_plt_config *pltconfig);
int telemetry_clear_pltdata(void);
OpenPOWER on IntegriCloud