summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_trace_ipa.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-02 21:57:57 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-08 17:01:20 +0300
commitb1ae92dcfa8ed7d5044c525c3a868fcb4d0f9c0e (patch)
tree3ff05bb0b03bfda6ce3fe106244ab7767f1f2706 /drivers/thermal/thermal_trace_ipa.h
parentdaeeb032f42d066a49e07b7f6effc9f51b7a5479 (diff)
downloadlinux-b1ae92dcfa8ed7d5044c525c3a868fcb4d0f9c0e.tar.xz
thermal: core: Make struct thermal_zone_device definition internal
Move the definitions of struct thermal_trip_desc and struct thermal_zone_device to an internal header file in the thermal core, as they don't need to be accessible to any code other than the thermal core and so they don't need to be present in a global header. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal/thermal_trace_ipa.h')
-rw-r--r--drivers/thermal/thermal_trace_ipa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/thermal/thermal_trace_ipa.h b/drivers/thermal/thermal_trace_ipa.h
index b16b5dd863d9..a82821eebc88 100644
--- a/drivers/thermal/thermal_trace_ipa.h
+++ b/drivers/thermal/thermal_trace_ipa.h
@@ -7,6 +7,8 @@
#include <linux/tracepoint.h>
+#include "thermal_core.h"
+
TRACE_EVENT(thermal_power_allocator,
TP_PROTO(struct thermal_zone_device *tz, u32 total_req_power,
u32 total_granted_power, int num_actors, u32 power_range,