diff --git a/include/trace/hooks/topology.h b/include/trace/hooks/topology.h index 32b44c7e5130..d67d8491eb17 100644 --- a/include/trace/hooks/topology.h +++ b/include/trace/hooks/topology.h @@ -14,8 +14,8 @@ #if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS) DECLARE_HOOK(android_vh_arch_set_freq_scale, - TP_PROTO(struct cpumask *cpus, unsigned long freq, unsigned long max, - unsigned long *scale), + TP_PROTO(const struct cpumask *cpus, unsigned long freq, + unsigned long max, unsigned long *scale), TP_ARGS(cpus, freq, max, scale)); #else