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:

committed by
Darren Hart

parent
575b245d90
commit
775d054aba
@@ -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);
|
||||
|
Reference in New Issue
Block a user