diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2016-05-01 23:11:59 +0300 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2016-05-05 23:58:55 +0300 |
commit | 775d054aba90a2c787d4c081d6369f1fddaae0f4 (patch) | |
tree | a4a0bdf6317695e6e15e7046368585bc558cd29e /arch/x86/include/asm/intel_telemetry.h | |
parent | 575b245d9047d190c8cbc44e2f0ef14897836292 (diff) | |
download | linux-775d054aba90a2c787d4c081d6369f1fddaae0f4.tar.xz |
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/include/asm/intel_telemetry.h')
-rw-r--r-- | arch/x86/include/asm/intel_telemetry.h | 2 |
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); |