diff options
| -rw-r--r-- | include/trace/events/thermal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/trace/events/thermal.h b/include/trace/events/thermal.h index 6cde5b3514c2..1fdacdb94e77 100644 --- a/include/trace/events/thermal.h +++ b/include/trace/events/thermal.h | |||
| @@ -148,6 +148,7 @@ TRACE_EVENT(thermal_power_cpu_limit, | |||
| 148 | __entry->power) | 148 | __entry->power) |
| 149 | ); | 149 | ); |
| 150 | 150 | ||
| 151 | #ifdef CONFIG_DEVFREQ_THERMAL | ||
| 151 | TRACE_EVENT(thermal_power_devfreq_get_power, | 152 | TRACE_EVENT(thermal_power_devfreq_get_power, |
| 152 | TP_PROTO(struct thermal_cooling_device *cdev, | 153 | TP_PROTO(struct thermal_cooling_device *cdev, |
| 153 | struct devfreq_dev_status *status, unsigned long freq, | 154 | struct devfreq_dev_status *status, unsigned long freq, |
| @@ -203,6 +204,7 @@ TRACE_EVENT(thermal_power_devfreq_limit, | |||
| 203 | __get_str(type), __entry->freq, __entry->cdev_state, | 204 | __get_str(type), __entry->freq, __entry->cdev_state, |
| 204 | __entry->power) | 205 | __entry->power) |
| 205 | ); | 206 | ); |
| 207 | #endif /* CONFIG_DEVFREQ_THERMAL */ | ||
| 206 | #endif /* _TRACE_THERMAL_H */ | 208 | #endif /* _TRACE_THERMAL_H */ |
| 207 | 209 | ||
| 208 | /* This part must be outside protection */ | 210 | /* This part must be outside protection */ |
