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>
This commit is contained in:
Julia Lawall
2016-05-01 22:11:59 +02:00
committed by Darren Hart
parent 575b245d90
commit 775d054aba
3 changed files with 5 additions and 5 deletions

View File

@@ -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);