diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-03-07 16:37:25 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-04-01 21:51:45 +0300 |
commit | 32a7a02117de01199ce15ec121ac7af417c340eb (patch) | |
tree | beef3c9af6675625b96fdcce747f08f81246daca /drivers/thermal/gov_fair_share.c | |
parent | e45c9a2fc59da2d5f8004ce1e6894cd5d74788e3 (diff) | |
download | linux-32a7a02117de01199ce15ec121ac7af417c340eb.tar.xz |
thermal/core: Relocate the traces definition in thermal directory
The traces are exported but only local to the thermal core code. On
the other side, the traces take the thermal zone device structure as
argument, thus they have to rely on the exported thermal.h header
file. As we want to move the structure to the private thermal core
header, first we have to relocate those traces to the same place as
many drivers do.
Cc: Steven Rostedt <rostedt@goodmis.org>
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20230307133735.90772-2-daniel.lezcano@linaro.org
Diffstat (limited to 'drivers/thermal/gov_fair_share.c')
-rw-r--r-- | drivers/thermal/gov_fair_share.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/gov_fair_share.c b/drivers/thermal/gov_fair_share.c index aad7d5fe3a14..03c2daeb6ee8 100644 --- a/drivers/thermal/gov_fair_share.c +++ b/drivers/thermal/gov_fair_share.c @@ -11,7 +11,7 @@ */ #include <linux/thermal.h> -#include <trace/events/thermal.h> +#include "thermal_trace.h" #include "thermal_core.h" |