aboutsummaryrefslogtreecommitdiff
path: root/drivers/thermal/gov_power_allocator.c
diff options
context:
space:
mode:
authorGravatar Daniel Lezcano <daniel.lezcano@linaro.org> 2023-03-07 14:37:25 +0100
committerGravatar Daniel Lezcano <daniel.lezcano@linaro.org> 2023-04-01 20:51:45 +0200
commit32a7a02117de01199ce15ec121ac7af417c340eb (patch)
treebeef3c9af6675625b96fdcce747f08f81246daca /drivers/thermal/gov_power_allocator.c
parentthermal/drivers/hisi: Use devm_platform_ioremap_resource() (diff)
downloadlinux-32a7a02117de01199ce15ec121ac7af417c340eb.tar.gz
linux-32a7a02117de01199ce15ec121ac7af417c340eb.tar.bz2
linux-32a7a02117de01199ce15ec121ac7af417c340eb.zip
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_power_allocator.c')
-rw-r--r--drivers/thermal/gov_power_allocator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/gov_power_allocator.c b/drivers/thermal/gov_power_allocator.c
index 0eaf1527d3e3..8642f1096b91 100644
--- a/drivers/thermal/gov_power_allocator.c
+++ b/drivers/thermal/gov_power_allocator.c
@@ -12,7 +12,7 @@
#include <linux/thermal.h>
#define CREATE_TRACE_POINTS
-#include <trace/events/thermal_power_allocator.h>
+#include "thermal_trace_ipa.h"
#include "thermal_core.h"